This commit is contained in:
Daniel Hougaard
2024-07-06 01:32:18 +02:00
parent bafc6ee129
commit 49248ee13f
5 changed files with 67 additions and 6 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ export const main = async ({ db, smtp, logger, queue, keyStore }: TMain) => {
if (appCfg.isProductionMode) {
await server.register(registerExternalNextjs, {
standaloneMode: appCfg.STANDALONE_MODE,
standaloneMode: appCfg.STANDALONE_MODE || IS_PACKAGED,
dir: path.join(__dirname, IS_PACKAGED ? "../../../" : "../../"),
port: appCfg.PORT
});