add missing trailing slashes fixes #43

This commit is contained in:
wh1te909
2021-09-09 05:55:27 +00:00
parent 5fb72cea53
commit 35d61b6a6c
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ export async function fetchAgents() {
export async function fetchAgentHistory(pk) {
try {
const { data } = await axios.get(`${baseUrl}/history/${pk}`)
const { data } = await axios.get(`${baseUrl}/history/${pk}/`)
return data
} catch (e) { }
}

View File

@@ -184,7 +184,7 @@ export default function () {
.catch(e => { })
},
loadInstalledSoftware(context, pk) {
axios.get(`/software/installed/${pk}`).then(r => {
axios.get(`/software/installed/${pk}/`).then(r => {
context.commit("SET_INSTALLED_SOFTWARE", r.data.software);
})
.catch(e => { });