use cors locally
This commit is contained in:
+3
-1
@@ -4,7 +4,7 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node dist/index.js",
|
||||
"start-local": "tsc && node dist/index.js",
|
||||
"start-local": "tsc && NODE_ENV=development node dist/index.js",
|
||||
"clean": "rimraf dist",
|
||||
"build": "npm run clean & tsc",
|
||||
"test": "echo \"Error: no test specified, please add them later\""
|
||||
@@ -18,6 +18,7 @@
|
||||
"@types/jsonwebtoken": "^9.0.5",
|
||||
"@types/node": "^20.11.19",
|
||||
"@types/ws": "^8.5.10",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.4.4",
|
||||
"express": "5.0.0",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
@@ -27,6 +28,7 @@
|
||||
"ws": "8.17.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/cors": "^2.8.17",
|
||||
"prettier": "^3.2.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user