Removed config variable

This commit is contained in:
Dennis Postma 2024-12-29 00:42:18 +01:00
parent 2d43b3f1d2
commit 30cce5845c
2 changed files with 0 additions and 2 deletions

View File

@ -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=""

View File

@ -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 || ''