From 4c5bf2b74763d679630bfe85084f1a66614529c2 Mon Sep 17 00:00:00 2001
From: Henrik Askjer <henrik.askjer@uib.no>
Date: Tue, 28 Sep 2021 09:48:08 +0200
Subject: [PATCH] Remove global axios config

---
 src/components/DictionaryView.vue | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue
index 2f347175..2ef57285 100644
--- a/src/components/DictionaryView.vue
+++ b/src/components/DictionaryView.vue
@@ -90,18 +90,6 @@ var api_endpoint = process.env.VUE_APP_API_PREFIX + '/api/dict'
 
 var oda_dev = 'https://oda.uib.no/opal/dev'
 
-
-/*
-axios.interceptors.request.use(function (config) {
-    if (!config.url) {
-      config.headers["x-api-key"] = "ZkYiyRVXxH86ijsvhx3cH4SY5Iik2ijI3BKVJGMm"
-    }
-    
-    return config;
-  }, function (error) {
-    return Promise.reject(error);
-  });*/
-
 function navigate_to_article(self, source) {
   let config = {headers: {}}
   if ((self.$route.query.nocache || '').toLowerCase() == 'true') {
-- 
GitLab