Files
archived-linsa/web/instrumentation.ts
Nikita 9e28aa5995 Sentry (#157)
* .

* add sentry

* prettier

* up packages

* no edge sentry

---------

Co-authored-by: Aslam H <iupin5212@gmail.com>
2024-09-10 18:18:37 +07:00

6 lines
127 B
TypeScript

export async function register() {
if (process.env.NEXT_RUNTIME === "nodejs") {
await import("./sentry.server.config")
}
}