fix: enable sentry on frontend (#876)

This commit is contained in:
Sergey Mankovsky
2026-02-24 17:55:14 +01:00
committed by GitHub
parent e7dd8b57d1
commit bc6bb63c32
6 changed files with 6 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ repos:
- id: format - id: format
name: run format name: run format
language: system language: system
entry: bash -c 'source "$HOME/.nvm/nvm.sh" && cd www && pnpm format' entry: bash -c 'if [ -f "$HOME/.nvm/nvm.sh" ]; then source "$HOME/.nvm/nvm.sh"; fi; cd www && pnpm format'
pass_filenames: false pass_filenames: false
files: ^www/ files: ^www/

View File

@@ -27,5 +27,5 @@ WEBSOCKET_URL=ws://127.0.0.1:1250
AUTH_CALLBACK_URL=http://localhost:3000/auth-callback AUTH_CALLBACK_URL=http://localhost:3000/auth-callback
# Sentry # Sentry
# SENTRY_DSN=https://your-dsn@sentry.io/project-id # NEXT_PUBLIC_SENTRY_DSN=https://your-dsn@sentry.io/project-id
# SENTRY_IGNORE_API_RESOLUTION_ERROR=1 # SENTRY_IGNORE_API_RESOLUTION_ERROR=1

View File

@@ -50,4 +50,4 @@ AUTHENTIK_REFRESH_TOKEN_URL=
# ======================================================= # =======================================================
# Sentry (Optional) # Sentry (Optional)
# ======================================================= # =======================================================
# SENTRY_DSN= # NEXT_PUBLIC_SENTRY_DSN=

View File

@@ -4,7 +4,7 @@
import * as Sentry from "@sentry/nextjs"; import * as Sentry from "@sentry/nextjs";
const SENTRY_DSN = process.env.SENTRY_DSN; const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
if (SENTRY_DSN) { if (SENTRY_DSN) {
Sentry.init({ Sentry.init({

View File

@@ -5,7 +5,7 @@
import * as Sentry from "@sentry/nextjs"; import * as Sentry from "@sentry/nextjs";
const SENTRY_DSN = process.env.SENTRY_DSN; const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
if (SENTRY_DSN) { if (SENTRY_DSN) {
Sentry.init({ Sentry.init({

View File

@@ -4,7 +4,7 @@
import * as Sentry from "@sentry/nextjs"; import * as Sentry from "@sentry/nextjs";
const SENTRY_DSN = process.env.SENTRY_DSN; const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
if (SENTRY_DSN) { if (SENTRY_DSN) {
Sentry.init({ Sentry.init({