From e36d58ab43ba01a116383b93a668c466c6a70284 Mon Sep 17 00:00:00 2001 From: "robinwilliam.hundt" <robinwilliam.hundt@stud.uni-goettingen.de> Date: Wed, 21 Feb 2018 17:34:51 +0100 Subject: [PATCH] Fixed export button Forgot one slash... --- frontend/src/pages/reviewer/ReviewerLayout.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/reviewer/ReviewerLayout.vue b/frontend/src/pages/reviewer/ReviewerLayout.vue index 651397e4..af54a6ac 100644 --- a/frontend/src/pages/reviewer/ReviewerLayout.vue +++ b/frontend/src/pages/reviewer/ReviewerLayout.vue @@ -63,7 +63,7 @@ methods: { download () { const url = process.env.NODE_ENV === 'production' - ? `https://${window.location.host}${window.location.pathname}api/export/csv/` + ? `https://${window.location.host}${window.location.pathname}/api/export/csv/` : 'http://localhost:8000/api/export/csv/' ax.get(url, {responseType: 'blob'}).then(response => { console.log(response) -- GitLab