diff --git a/assets/js/api.js b/assets/js/api.js index 8bcd27d90..55d733b72 100644 --- a/assets/js/api.js +++ b/assets/js/api.js @@ -3,7 +3,7 @@ import axios from "axios"; const { protocol, hostname, port, pathname } = window.location; const api = axios.create({ - baseURL: protocol + "//" + hostname + (port ? ":" + port : "") + pathname + "api", + baseURL: protocol + "//" + hostname + (port ? ":" + port : "") + pathname + "api/", headers: { Accept: "application/json", }, diff --git a/dist/index.html b/dist/index.html index 7fdfc2b1a..fc3dac000 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,4 +1,4 @@ -