Skip to content

Commit

Permalink
hotfix: remove redirects to stag
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandascovino authored Nov 8, 2022
1 parent dee55e3 commit a36e585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default new Vuex.Store({
},
actions: {
updateCode({ commit }, code) {
axios.defaults.baseURL = `https://api.${(['7KKY', '7M9B'].includes(code.toUpperCase())?'staging.':'')}mobilidade.rio/`
axios.defaults.baseURL = `https://api.mobilidade.rio/`
commit('setCode', code)
if (code.length === 4) {
this.dispatch("fetchAddress", code);
Expand Down Expand Up @@ -262,4 +262,4 @@ export default new Vuex.Store({
dispatch('clearModes');
}
}
})
})

0 comments on commit a36e585

Please sign in to comment.