完善保险项目和养殖端小程序
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
require('dotenv').config({ path: require('path').join(__dirname, '../.env') });
|
||||
|
||||
// 设置默认环境变量
|
||||
if (!process.env.JWT_SECRET) {
|
||||
process.env.JWT_SECRET = 'insurance_super_secret_jwt_key_2024_very_long_and_secure';
|
||||
}
|
||||
|
||||
const express = require('express');
|
||||
const cors = require('cors');
|
||||
const helmet = require('helmet');
|
||||
|
||||
Reference in New Issue
Block a user