diff --git a/src/api.js b/src/api.js index fc73d39..1bc7b33 100644 --- a/src/api.js +++ b/src/api.js @@ -1,10 +1,9 @@ import axios from 'axios' import storage from '@/storage.js' +import config from '@/config.json' -// const SEASONED_URL = 'https://api.kevinmidboe.com/api/' -const SEASONED_URL = 'http://localhost:31459/api/' - -const ELASTIC_URL = 'http://localhost:9200/' +const SEASONED_URL = config.SEASONED_URL +const ELASTIC_URL = config.ELASTIC_URL // TODO // - Move autorization token and errors here? diff --git a/src/components/SearchInput.vue b/src/components/SearchInput.vue index fdcf7b3..e3d8afd 100644 --- a/src/components/SearchInput.vue +++ b/src/components/SearchInput.vue @@ -19,7 +19,7 @@ -