cursor done.
This commit is contained in:
11
server/config.js
Normal file
11
server/config.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const path = require('path');
|
||||
|
||||
const PORT = process.env.PORT || 3000;
|
||||
const JWT_SECRET = process.env.JWT_SECRET || 'your-secret-key-change-in-production';
|
||||
const DB_PATH = path.join(__dirname, '..', 'data.db');
|
||||
|
||||
module.exports = {
|
||||
PORT,
|
||||
JWT_SECRET,
|
||||
DB_PATH
|
||||
};
|
||||
Reference in New Issue
Block a user