diff --git a/frontend/src/pages/reviewer/ReviewerLayout.vue b/frontend/src/pages/reviewer/ReviewerLayout.vue
index 7c81413080b840fd56fc0e372478c96c5b0d8df4..651397e406f8bb05af6144184499a0926a37e495 100644
--- a/frontend/src/pages/reviewer/ReviewerLayout.vue
+++ b/frontend/src/pages/reviewer/ReviewerLayout.vue
@@ -62,7 +62,10 @@
     },
     methods: {
       download () {
-        ax.get('http://localhost:8000/api/export/csv/', {responseType: 'blob'}).then(response => {
+        const url = process.env.NODE_ENV === 'production'
+          ? `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)
           let blob = new Blob([response.data], { type: 'text/csv' })
           let url = window.URL.createObjectURL(blob)