mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
cleanup
This commit is contained in:
parent
5040c2189d
commit
052de4dd9d
2 changed files with 2 additions and 3 deletions
|
|
@ -14,8 +14,6 @@ services:
|
|||
container_name: backend
|
||||
ports:
|
||||
- "3000:3000"
|
||||
env_file:
|
||||
- .env.auth
|
||||
environment:
|
||||
PORT: 3000
|
||||
MONGO_URI: "mongodb://mongo:27017/evaluetonsavoir"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const pathAuthConfig = './auth_config.json';
|
||||
|
||||
class AuthConfig {
|
||||
|
||||
|
|
@ -46,7 +47,7 @@ class AuthConfig {
|
|||
}
|
||||
|
||||
// Utilisation de la classe ConfigManager
|
||||
const configPath = path.join(__dirname, './auth_config.json');
|
||||
const configPath = path.join(__dirname, pathAuthConfig);
|
||||
const instance = new AuthConfig(configPath);
|
||||
module.exports = instance;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue