Skip to content

Commit 5e6de33

Browse files
authored
fix: header base url (#1630)
1 parent c65899d commit 5e6de33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scriptUrls.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const scriptSrcUrls = [
2+
process.env.NEXT_PUBLIC_API_URL,
23
'https://*.google-analytics.com',
34
'https://identitytoolkit.googleapis.com',
45
'https://*.hotjar.com',
@@ -23,7 +24,6 @@ const scriptSrcUrls = [
2324
'https://static.hotjar.com',
2425
'https://app.storyblok.com',
2526
'https://client.crisp.chat',
26-
process.env.NEXT_PUBLIC_API_URL,
2727
'wss://client.relay.crisp.chat',
2828
'https://apis.google.com',
2929
'https://va.vercel-scripts.com/',
@@ -71,7 +71,7 @@ const connectSrcUrls = [
7171
'https://*.youtube.com',
7272
'https://www.youtube.com',
7373
...(process.env.NODE_ENV === 'development' ? ['http://localhost:35001'] : []),
74-
process.env.NEXT_PUBLIC_API_BASE_URL,
74+
process.env.NEXT_PUBLIC_API_URL,
7575
];
7676
const frameSrcUrls = [
7777
'https://*.hotjar.com',

0 commit comments

Comments
 (0)