fix: docker permission.
Some checks failed
Build and Push Docker Image / buildx (push) Has been cancelled

This commit is contained in:
2025-11-11 15:18:01 +08:00
parent f1a88c9890
commit cf74607dbf
4 changed files with 20 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ 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');
const DB_PATH = process.env.DB_PATH || path.join(__dirname, '..', 'data.db');
module.exports = {
PORT,