diff --git a/src/core/static/js/ajax.js b/src/core/static/js/ajax.js index e386350..8a500fe 100644 --- a/src/core/static/js/ajax.js +++ b/src/core/static/js/ajax.js @@ -24,9 +24,9 @@ const doAjax = (actionPath, data, action) => { const formatURL = (basePath) => { url = window.location.href; if ( url.endsWith('/') ) - return url + '/' + basePath; - else return url + basePath; + else + return url + '/' + basePath; } const fetchData = async (url) => {