From cceaa0c089fbf8382c78dd3a89ed4eac6de2b688 Mon Sep 17 00:00:00 2001 From: yshepilov Date: Tue, 5 Jul 2022 10:14:19 +0200 Subject: [PATCH] #559 fixed script loading behind reverse proxy --- .../components/scripts-config/script-edit/ScriptEditDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-src/src/admin/components/scripts-config/script-edit/ScriptEditDialog.vue b/web-src/src/admin/components/scripts-config/script-edit/ScriptEditDialog.vue index 8de6164f..560b7a11 100644 --- a/web-src/src/admin/components/scripts-config/script-edit/ScriptEditDialog.vue +++ b/web-src/src/admin/components/scripts-config/script-edit/ScriptEditDialog.vue @@ -93,7 +93,7 @@ export default { }, created() { if (!this.newConfig) { - axiosInstance.get('/admin/scripts/' + encodeURIComponent(this.configName) + '/code') + axiosInstance.get('admin/scripts/' + encodeURIComponent(this.configName) + '/code') .then(({data}) => { this.code = data.code this.originalCode = data.code