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