added CORS header & env file

This commit is contained in:
2025-04-03 14:49:07 +02:00
parent 7c27684ab5
commit e3c7f3c18f
3 changed files with 6 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
"type": "commonjs",
"scripts": {
"build": "esbuild src/main.ts --bundle --outfile=build/out.js --platform=node --external:better-sqlite3 --external:express",
"execute": "pnpm build && node build/out.js"
"execute": "pnpm build && node --env-file .env build/out.js"
},
"keywords": [],
"author": "",