mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
Fix address on index
This commit is contained in:
@@ -118,6 +118,8 @@ export function createIndex(assetsPath: string, adminAssetsPath: string) {
|
||||
script,
|
||||
scriptES,
|
||||
oauthProviders,
|
||||
port: 8091,
|
||||
address: config.local.split(':')[0],
|
||||
facebookAppId: config.facebookAppId,
|
||||
isPublic: isPublic ? 'true' : undefined,
|
||||
});
|
||||
|
||||
+2
-2
@@ -76,5 +76,5 @@ html(lang="en")
|
||||
if production
|
||||
script(src=script async)
|
||||
else
|
||||
script(src="http://localhost:8091/assets/scripts/vendor.js")
|
||||
script(src="http://localhost:8091" + script.replace('/adm/', '/'))
|
||||
script(src="http://" + address + ":"+ port + "/assets/scripts/vendor.js")
|
||||
script(src="http://" + address + ":"+ port + script.replace('/adm/', '/'))
|
||||
|
||||
Reference in New Issue
Block a user