From 7f7c8001ab98f0692f42d357057d82ef5fdfa4f3 Mon Sep 17 00:00:00 2001 From: Henrik Askjer <henrik.askjer@uib.no> Date: Tue, 28 Sep 2021 10:55:11 +0200 Subject: [PATCH] Refactor --- src/components/DictionaryView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue index a502ba8c..9007cc87 100644 --- a/src/components/DictionaryView.vue +++ b/src/components/DictionaryView.vue @@ -86,9 +86,9 @@ const oda_api = setup({ }) -var api_endpoint = process.env.VUE_APP_API_PREFIX + '/api/dict' +const api_endpoint = process.env.VUE_APP_API_PREFIX + '/api/dict' -var oda_dev = 'https://oda.uib.no/opal/dev' +const oda_dev = 'https://oda.uib.no/opal/dev' function navigate_to_article(self, source) { let config = {headers: {}} -- GitLab