Remove trailing slash from URL

This commit is contained in:
D. Berge
2023-11-02 20:46:26 +01:00
parent 4486fc4afc
commit 544c4ead76

View File

@@ -503,7 +503,7 @@ export default {
async getConfiguration () {
this.configuration = null;
const url = `/project/${this.$route.params.project}/configuration/`;
const url = `/project/${this.$route.params.project}/configuration`;
this.configuration = await this.api([url]);
},
@@ -540,7 +540,7 @@ export default {
},
async patch (data) {
const url = `/project/${this.$route.params.project}/configuration/`;
const url = `/project/${this.$route.params.project}/configuration`;
const init = {
method: "PATCH",
body: data