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,
|
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
@@ -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/', '/'))
|
||||||
|
|||||||
Reference in New Issue
Block a user