env variables problem fixed, removing debug lines
This commit is contained in:
parent
86c6cbd929
commit
6d48d0fe1d
@ -1,5 +1,3 @@
|
||||
console.log(JSON.stringify(process.env, null, 2));
|
||||
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
require("dotenv").config();
|
||||
}
|
||||
@ -82,7 +80,7 @@ const initRoles = async () => {
|
||||
const start = async () => {
|
||||
try {
|
||||
// Validate important env vars
|
||||
if (!authConfig.secret) {
|
||||
if (!authConfig.jwt_secret) {
|
||||
console.warn("JWT_SECRET not set. Ensure secure secret in production.");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user