Skip to content

Commit d0f416b

Browse files
committed
fix build
1 parent 48769da commit d0f416b

File tree

4 files changed

+29
-28
lines changed

4 files changed

+29
-28
lines changed

apps/sim/lib/core/security/csp.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export const buildTimeCSPDirectives: CSPDirectives = {
5555
'https://*.s3.amazonaws.com',
5656
'https://s3.amazonaws.com',
5757
'https://github.com/*',
58+
'https://collector.onedollarstats.com',
5859
...(env.S3_BUCKET_NAME && env.AWS_REGION
5960
? [`https://${env.S3_BUCKET_NAME}.s3.${env.AWS_REGION}.amazonaws.com`]
6061
: []),
@@ -153,7 +154,7 @@ export function generateRuntimeCSP(): string {
153154
default-src 'self';
154155
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.google.com https://apis.google.com https://assets.onedollarstats.com;
155156
style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;
156-
img-src 'self' data: blob: https://*.googleusercontent.com https://*.google.com https://*.atlassian.com https://cdn.discordapp.com https://*.githubusercontent.com https://*.s3.amazonaws.com https://s3.amazonaws.com https://*.amazonaws.com https://*.blob.core.windows.net https://github.com/* ${brandLogoDomain} ${brandFaviconDomain};
157+
img-src 'self' data: blob: https://*.googleusercontent.com https://*.google.com https://*.atlassian.com https://cdn.discordapp.com https://*.githubusercontent.com https://*.s3.amazonaws.com https://s3.amazonaws.com https://*.amazonaws.com https://*.blob.core.windows.net https://github.com/* https://collector.onedollarstats.com ${brandLogoDomain} ${brandFaviconDomain};
157158
media-src 'self' blob:;
158159
font-src 'self' https://fonts.gstatic.com;
159160
connect-src 'self' ${appUrl} ${ollamaUrl} ${socketUrl} ${socketWsUrl} https://api.browser-use.com https://api.exa.ai https://api.firecrawl.dev https://*.googleapis.com https://*.amazonaws.com https://*.s3.amazonaws.com https://*.blob.core.windows.net https://api.github.com https://github.com/* https://*.atlassian.com https://*.supabase.co https://collector.onedollarstats.com ${dynamicDomainsStr};

apps/sim/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"@types/react-window": "2.0.0",
7373
"@types/three": "0.177.0",
7474
"better-auth": "1.3.12",
75-
"binary-extensions": "3.1.0",
75+
"binary-extensions": "^2.0.0",
7676
"browser-image-compression": "^2.0.2",
7777
"chalk": "5.6.2",
7878
"cheerio": "1.1.2",
@@ -101,7 +101,7 @@
101101
"mammoth": "^1.9.0",
102102
"mysql2": "3.14.3",
103103
"nanoid": "^3.3.7",
104-
"next": "16.0.9",
104+
"next": "16.1.0-canary.21",
105105
"next-mdx-remote": "^5.0.0",
106106
"next-runtime-env": "3.3.0",
107107
"next-themes": "^0.4.6",
@@ -130,6 +130,7 @@
130130
"stripe": "18.5.0",
131131
"tailwind-merge": "^2.6.0",
132132
"tailwindcss-animate": "^1.0.7",
133+
"thread-stream": "4.0.0",
133134
"three": "0.177.0",
134135
"unpdf": "1.4.0",
135136
"uuid": "^11.1.0",
@@ -170,8 +171,8 @@
170171
"sharp"
171172
],
172173
"overrides": {
173-
"next": "16.0.9",
174-
"@next/env": "16.0.9",
174+
"next": "16.1.0-canary.21",
175+
"@next/env": "16.1.0-canary.21",
175176
"drizzle-orm": "^0.44.5",
176177
"postgres": "^3.4.5"
177178
}

bun.lock

Lines changed: 20 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"overrides": {
2929
"react": "19.2.1",
3030
"react-dom": "19.2.1",
31-
"next": "16.0.9",
32-
"@next/env": "16.0.9",
31+
"next": "16.1.0-canary.21",
32+
"@next/env": "16.1.0-canary.21",
3333
"drizzle-orm": "^0.44.5",
3434
"postgres": "^3.4.5"
3535
},

0 commit comments

Comments
 (0)