mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
Update config.ts
This commit is contained in:
1 parent
923de901c4
commit
ea33434bea
1 file changed
+2
-4
@@ -18,10 +18,8 @@ const config: Config = {
|
||||
host: process.env.HOST || 'localhost',
|
||||
port: process.env.PORT ? parseInt(process.env.PORT) : 3001,
|
||||
db: process.env.MONGO_URL || 'mongodb://localhost:27017/odyssey-test',
|
||||
//username: getOrFailed('ADMIN_USERNAME'),
|
||||
username: 'wancat',
|
||||
//password: getOrFailed('ADMIN_PASSWORD'),
|
||||
password: 'InMatrix',
|
||||
username: getOrFailed('ADMIN_USERNAME'),
|
||||
password: getOrFailed('ADMIN_PASSWORD'),
|
||||
baseUrl:
|
||||
process.env.BASE_URL ||
|
||||
`http://${process.env.HOST || 'localhost'}:${process.env.PORT ? parseInt(process.env.PORT) : 3001}`,
|
||||
|
||||
Reference in new issue
Block a user