1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00

use platform url env

This commit is contained in:
Martin McKeaveney 2022-05-18 21:00:42 +01:00
parent 869a4fa91c
commit aa61a86c4a

View file

@ -22,7 +22,11 @@ async function fetchGoogleCreds() {
}
async function getPlatformUrl() {
let platformUrl = environment.PLATFORM_URL || "http://localhost:10000"
if (environment.PLATFORM_URL) {
return environment.PLATFORM_URL
}
let platformUrl = "http://localhost:10000"
const db = getGlobalDB()
const settings = await getScopedConfig(db, {