diff --git a/web/src/routes/Config.jsx b/web/src/routes/Config.jsx index e80d8faf4..e043bbf28 100644 --- a/web/src/routes/Config.jsx +++ b/web/src/routes/Config.jsx @@ -23,7 +23,7 @@ export default function Config() { } axios - .post('config/save?save_option='+save_option, window.editor.getValue(), { + .post(`config/save?save_option=${save_option}`, window.editor.getValue(), { headers: { 'Content-Type': 'text/plain' }, }) .then((response) => {