diff --git a/.env.example b/.env.example index 9b5e174..9ca61ba 100644 --- a/.env.example +++ b/.env.example @@ -7,7 +7,6 @@ CLIENT_URL="http://192.168.3.4:5173" # Database configuration REDIS_URL="redis://@127.0.0.1:6379/4" -DATABASE_URL="mysql://root@localhost:3306/game" DB_HOST="localhost" DB_USER="root" DB_PASS="" diff --git a/src/application/config.ts b/src/application/config.ts index f3954aa..31a49b6 100644 --- a/src/application/config.ts +++ b/src/application/config.ts @@ -12,7 +12,6 @@ class config { // Database configuration static REDIS_URL: string = process.env.REDIS_URL || 'redis://@127.0.0.1:6379/4' - static DATABASE_URL: string = process.env.DATABASE_URL || 'mysql://root@localhost:3306/game' static DB_HOST: string = process.env.DB_HOST || 'localhost' static DB_USER: string = process.env.DB_USER || 'root' static DB_PASS: string = process.env.DB_PASS || ''