This commit is contained in:
Vins 2024-04-24 13:24:07 +02:00
parent 5b12917ef7
commit f9433a3823

View File

@ -14,7 +14,9 @@ const storage = multer.memoryStorage();
(async () => { (async () => {
try { try {
const variables = await Container.get(BackendVariables).validate(); const variables = await Container.get(BackendVariables).validate();
console.log(variables);
const port = variables.APP_PORT; const port = variables.APP_PORT;
const rootUrl = variables.APP_ROOT_URL; const rootUrl = variables.APP_ROOT_URL;
const label = variables.APP_LABEL ?? "Unknown Service"; const label = variables.APP_LABEL ?? "Unknown Service";