[FIX] Resolve duplicate path declaration crash
This commit is contained in:
parent
de4eafa62c
commit
4f7da76304
@ -14,7 +14,6 @@ const { isAuthenticated } = require('./middleware/authMiddleware');
|
|||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
const PORT = process.env.PORT || 3005; // Changed to 3005 to avoid conflict with Synology services (3001 issue)
|
const PORT = process.env.PORT || 3005; // Changed to 3005 to avoid conflict with Synology services (3001 issue)
|
||||||
const path = require('path');
|
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
|
|
||||||
// Ensure uploads directory exists
|
// Ensure uploads directory exists
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user