An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: remove sentry before migration
Andras Bacsai3c723bcba247
diff --git a/apps/api/src/index.ts b/apps/api/src/index.tsindex 0303cdec90..9a79441a2e 100644--- a/apps/api/src/index.ts+++ b/apps/api/src/index.ts@@ -249,12 +249,12 @@ async function initServer() {await prisma.setting.update({ where: { id: '0' }, data: { sentryDSN } })}// Initialize Sentry- Sentry.init({- dsn: sentryDSN,- environment: isDev ? 'development' : 'production',- release: version- });- console.log('[000] Sentry initialized...')+ // Sentry.init({+ // dsn: sentryDSN,+ // environment: isDev ? 'development' : 'production',+ // release: version+ // });+ // console.log('[000] Sentry initialized...')}} catch (error) {console.error(error)diff --git a/apps/api/src/routes/api/v1/settings/handlers.ts b/apps/api/src/routes/api/v1/settings/handlers.tsindex f35c8f968e..c835f30203 100644--- a/apps/api/src/routes/api/v1/settings/handlers.ts+++ b/apps/api/src/routes/api/v1/settings/handlers.ts@@ -84,12 +84,12 @@ export async function saveSettings(request: FastifyRequest<SaveSettings>, reply:await prisma.setting.update({ where: { id }, data: { minPort, maxPort } });}if (doNotTrack === false) {- Sentry.init({- dsn: sentryDSN,- environment: isDev ? 'development' : 'production',- release: version- });- console.log('Sentry initialized')+ // Sentry.init({+ // dsn: sentryDSN,+ // environment: isDev ? 'development' : 'production',+ // release: version+ // });+ // console.log('Sentry initialized')}return reply.code(201).send()} catch ({ status, message }) {diff --git a/apps/ui/src/routes/__layout.svelte b/apps/ui/src/routes/__layout.svelteindex 7b11837454..4813a77990 100644--- a/apps/ui/src/routes/__layout.svelte+++ b/apps/ui/src/routes/__layout.svelte@@ -106,15 +106,15 @@if (teamId) $appSession.teamId = teamId;if (permission) $appSession.permission = permission;if (isAdmin) $appSession.isAdmin = isAdmin;- if (settings?.doNotTrack === false) {- Sentry.init({- dsn: sentryDSN,- environment: dev ? 'development' : 'production',- integrations: [new BrowserTracing()],- release: $appSession.version?.toString(),- tracesSampleRate: 0.2- });- }+ // if (settings?.doNotTrack === false) {+ // Sentry.init({+ // dsn: sentryDSN,+ // environment: dev ? 'development' : 'production',+ // integrations: [new BrowserTracing()],+ // release: $appSession.version?.toString(),+ // tracesSampleRate: 0.2+ // });+ // }async function logout() {try {Cookies.remove('token');