ENV variables fix

This commit is contained in:
2024-06-25 16:06:18 +08:00
parent 81da13b388
commit fedc3d2f61
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ COMMON_CONTRACT_PATH='wrenchboard/wrenchboard/TEST/CONTRACTS'
#COMMON_DUMMY_PATH='wrenchboard/wrenchboard/LIVE/DUMMY'
#COMMON_MYFILE_PATH='/wrenchboard/wrenchboard/LIVE/PROFILE'
COMMON_CONTRACT_PATH='wrenchboard/wrenchboard/LIVE/CONTRACTS'
#COMMON_CONTRACT_PATH='wrenchboard/wrenchboard/LIVE/CONTRACTS'
+2
View File
@@ -5,6 +5,8 @@ const app = express()
const cors = require("cors");
const multer = require('multer')
require('dotenv').config();
const ENV_PARAM = process.env;
// const videoFileMap2={
// 'cdn':'videos/v1.mp4',
+4 -3
View File
@@ -13,6 +13,9 @@
"dependencies": {
"axios": "^1.6.7",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.18.2",
"multer": "^1.4.5-lts.1",
"openai": "^4.28.4",
"openapi-types": "^10.0.0",
@@ -25,9 +28,7 @@
"underscore": "^1.8.3",
"url": "^0.11.0",
"winston": "^2.3.1",
"winston-papertrail": "^1.0.4",
"cors": "^2.8.5",
"express": "^4.18.2"
"winston-papertrail": "^1.0.4"
},
"devDependencies": {
"eslint": "^8.57.0",