mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
Sentry (#157)
* . * add sentry * prettier * up packages * no edge sentry --------- Co-authored-by: Aslam H <iupin5212@gmail.com>
This commit is contained in:
5
web/instrumentation.ts
Normal file
5
web/instrumentation.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export async function register() {
|
||||
if (process.env.NEXT_RUNTIME === "nodejs") {
|
||||
await import("./sentry.server.config")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user