Removed config variable
This commit is contained in:
parent
2d43b3f1d2
commit
30cce5845c
@ -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=""
|
||||
|
@ -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 || ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user