Update config.ts

This commit is contained in:
Christopher Liu authored and wancat committed 2024-02-28 23:38:33 +08:00
1 parent 923de901c4
commit ea33434bea
1 file changed
+2 -4
+2 -4
View File
@@ -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}`,