Fix address on index

This commit is contained in:
2026-05-11 21:06:51 +02:00
parent a98465fefa
commit 81f099d150
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -118,6 +118,8 @@ export function createIndex(assetsPath: string, adminAssetsPath: string) {
script, script,
scriptES, scriptES,
oauthProviders, oauthProviders,
port: 8091,
address: config.local.split(':')[0],
facebookAppId: config.facebookAppId, facebookAppId: config.facebookAppId,
isPublic: isPublic ? 'true' : undefined, isPublic: isPublic ? 'true' : undefined,
}); });
+2 -2
View File
@@ -76,5 +76,5 @@ html(lang="en")
if production if production
script(src=script async) script(src=script async)
else else
script(src="http://localhost:8091/assets/scripts/vendor.js") script(src="http://" + address + ":"+ port + "/assets/scripts/vendor.js")
script(src="http://localhost:8091" + script.replace('/adm/', '/')) script(src="http://" + address + ":"+ port + script.replace('/adm/', '/'))