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

Obsolete?

parent 3e4cb324
No related branches found
No related tags found
No related merge requests found
......@@ -97,9 +97,10 @@ const dicts = {'nob': 'Nynorskorboka',
function navigate_to_article(self, source) {
let config = {headers: {}}
/*
if ((self.$route.query.nocache || '').toLowerCase() == 'true') {
config.headers.cachebuster = Date.now()
}
}*/
axios.get(oda_dev + '/' + self.$route.params.lang + '/article/' + self.$route.params.id + ".json", config)
.then(function(response){
self.article = Object.assign(response.data, {'dictionary': self.$route.params.lang, results: self.search_results})
......
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