fix: container removal, no secretKey panic

This commit is contained in:
wancat committed 2023-11-01 23:09:39 +08:00
1 parent d4000eb5a6
commit c008f82cb0
4 files changed
+17 -11

No files matched your search

-8
View File
@@ -22,12 +22,4 @@ const config = {
config.baseUrl = get('BASE_URL', `http://${config.host}:${config.port}`)
if (!config.secret) {
console.warn(
'No SECRET_KEY found in .env! To set up a persistent key, please run the setup script:'
)
console.warn('yarn setup')
process.exit(1)
}
export default config