mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-05-13 13:17:45 +00:00
also: - update privacy policy - fix space missing in terms of service - some image viewer style changes
9 lines
231 B
TypeScript
9 lines
231 B
TypeScript
import * as Sentry from "@sentry/nextjs";
|
|
|
|
export async function register() {
|
|
if (process.env.NEXT_RUNTIME === "nodejs") {
|
|
await import("../sentry.server.config");
|
|
}
|
|
}
|
|
|
|
export const onRequestError = Sentry.captureRequestError;
|