mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-10 00:48:04 +00:00
style front page, default to prod config
This commit is contained in:
@@ -36,10 +36,11 @@ export function getServerConfig(): ServerConfig {
|
||||
consolex.log('using preprod config')
|
||||
return preprodConfig
|
||||
case 'prod':
|
||||
default:
|
||||
consolex.log('using prod config')
|
||||
return prodConfig
|
||||
default:
|
||||
throw Error(`unsupported server configuration: ${process.env.GAME_ENV}`)
|
||||
// default:
|
||||
// throw Error(`unsupported server configuration: ${process.env.GAME_ENV}`)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user