From 587d2dcaca53b2e033b5069187e6fe270c40bf9d Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sun, 10 Dec 2023 13:17:04 +0800 Subject: [PATCH] Fix URLs with env --- frontend/src/pages/Compose.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/Compose.vue b/frontend/src/pages/Compose.vue index 0bc8117..9b1f375 100644 --- a/frontend/src/pages/Compose.vue +++ b/frontend/src/pages/Compose.vue @@ -299,12 +299,12 @@ export default { computed: { urls() { - if (!this.jsonConfig["x-dockge"] || !this.jsonConfig["x-dockge"].urls || !Array.isArray(this.jsonConfig["x-dockge"].urls)) { + if (!this.envsubstJSONConfig["x-dockge"] || !this.envsubstJSONConfig["x-dockge"].urls || !Array.isArray(this.envsubstJSONConfig["x-dockge"].urls)) { return []; } let urls = []; - for (const url of this.jsonConfig["x-dockge"].urls) { + for (const url of this.envsubstJSONConfig["x-dockge"].urls) { let display; try { let obj = new URL(url);