Update config.ts

This commit is contained in:
Christopher Liu authored and GitHub committed 2024-02-26 20:33:54 -06:00
1 parent ece0ec7c41
commit b47bb62831
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}`,