diff --git a/frontend/src/pages/reviewer/ReviewerLayout.vue b/frontend/src/pages/reviewer/ReviewerLayout.vue
index af54a6ace0467fd66487d9c4a58aafc7388f9933..ea13e8d4f67e918b47c9cbee4476ebd19f1a673a 100644
--- a/frontend/src/pages/reviewer/ReviewerLayout.vue
+++ b/frontend/src/pages/reviewer/ReviewerLayout.vue
@@ -62,15 +62,19 @@
     },
     methods: {
       download () {
-        const url = process.env.NODE_ENV === 'production'
-          ? `https://${window.location.host}${window.location.pathname}/api/export/csv/`
-          : 'http://localhost:8000/api/export/csv/'
+        let url = ''
+        if (process.env.NODE_ENV === 'production') {
+          const baseUrl = `https://${window.location.host}${window.location.pathname}`.replace(/\/+$/, '')
+          url = `${baseUrl}/api/export/csv`
+        } else {
+          url = 'http://localhost:8000/api/export/csv/'
+        }
         ax.get(url, {responseType: 'blob'}).then(response => {
           console.log(response)
           let blob = new Blob([response.data], { type: 'text/csv' })
           let url = window.URL.createObjectURL(blob)
 
-          window.open(url) // Mostly the same, I was just experimenting with different approaches, tried link.click, iframe and other solutions
+          window.open(url)
         })
       }
     }