Events 3.6.1: branding uploads work behind a proxy with extension rules
The logo/favicon upload succeeded, but the check that the site can show it got a 404: on events-demo every /api/... path ending in a file extension (.png, .ico, .pdf, .json) went to Next.js instead of the backend. - next.config.ts: /api/* and /uploads/* that reach the site are passed to the backend (beforeFiles rewrites) via the new BACKEND_INTERNAL_URL (http://127.0.0.1:<apiPort>, from env.template.json on deploy). The e2e E2E_API_PROXY uses the same rewrites. - nginx written by both installers and shown in DEPLOYMENT.md: /api/ and /uploads/ use location ^~ so no regex location can take them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Generated
+2
-2
@@ -128,7 +128,7 @@
|
||||
},
|
||||
"apps/events/backend": {
|
||||
"name": "@crosscode/events-backend",
|
||||
"version": "3.6.0",
|
||||
"version": "3.6.1",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@cj-tech-master/excelts": "^10.2.0",
|
||||
@@ -178,7 +178,7 @@
|
||||
},
|
||||
"apps/events/frontend": {
|
||||
"name": "@crosscode/events-frontend",
|
||||
"version": "3.6.0",
|
||||
"version": "3.6.1",
|
||||
"dependencies": {
|
||||
"@crosscode/contracts": "*",
|
||||
"@crosscode/seo": "*",
|
||||
|
||||
Reference in New Issue
Block a user