Skip to content

Commit

Permalink
urls are appending incorrectly/
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Esterberg committed Nov 7, 2019
1 parent 12e15fc commit feac3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default new Vuex.Store({
},
getters: {
server_url () {
console.log('serverurl', (process.env.NODE_ENV === 'development') ? 'https://omar-dev.ossim.io' : location.host)
console.log('serverurl', (process.env.NODE_ENV === 'development') ? 'https://omar-dev.ossim.io' : `https://${location.host}`)
return (process.env.NODE_ENV === 'development') ? 'https://omar-dev.ossim.io' : `https://${location.host}`
}
},
Expand Down

0 comments on commit feac3f4

Please sign in to comment.