added CORS header & env file
This commit is contained in:
@@ -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": "",
|
||||
|
||||
Reference in New Issue
Block a user