Skip to content
Snippets Groups Projects
Commit 2964b024 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Disable key header on oda

parent a735f379
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,10 @@ function compare_by_hgno(lemma_text) {
}
axios.interceptors.request.use(function (config) {
config.headers["x-api-key"] = "ZkYiyRVXxH86ijsvhx3cH4SY5Iik2ijI3BKVJGMm"
if (!config.url) {
config.headers["x-api-key"] = "ZkYiyRVXxH86ijsvhx3cH4SY5Iik2ijI3BKVJGMm"
}
return config;
}, function (error) {
return Promise.reject(error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment