fix: allow cross-origin team photos on Render for Vercel frontend

Helmet CORP blocked /uploads images from eene-dashboard.vercel.app.
Also add photo file upload to db:push-remote and db:push-photos script.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
EENE Dashboard
2026-06-06 01:53:01 +09:00
parent fb2956b0ac
commit 5f16515dab
3 changed files with 68 additions and 6 deletions

View File

@@ -14,7 +14,8 @@
"db:seed": "tsx prisma/seed.ts",
"db:import-hr": "tsx scripts/import-hr-data.ts",
"db:sync-remote": "tsx scripts/sync-from-remote.ts",
"db:push-remote": "tsx scripts/sync-to-remote.ts"
"db:push-remote": "tsx scripts/sync-to-remote.ts",
"db:push-photos": "tsx scripts/sync-to-remote.ts --photos-only"
},
"dependencies": {
"@prisma/client": "^6.0.0",