Fix config

This commit is contained in:
Jade Ellis
2024-08-27 19:45:53 +01:00
parent 29e9442c2d
commit 7910d2f774
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
const rootDomain = process.env.VITE_DOMAIN; // or your server IP for dev
import { SENTRY_REPORT_URL } from './lib/config';
/**
* @type {import("@sveltejs/kit").CspDirectives}
*/
@@ -56,7 +57,7 @@ const cspDirectives = {
// remove report-to & report-uri if you do not want to use Sentry reporting
'report-to': ["'csp-endpoint'"],
'report-uri': [
process.env.SENTRY_REPORT_URL,
SENTRY_REPORT_URL,
],
};