Compare commits

...

1 Commits

@ -0,0 +1,5 @@
.PHONY: build-static
build-static:
cd client && npm run build

@ -0,0 +1 @@
VUE_APP_BASE_URL=http://0.0.0.0:5000

@ -0,0 +1 @@
VUE_APP_BASE_URL=https://booker.androiddrew.com

21143
client/package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -8,18 +8,18 @@
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {
"axios": "^0.18.0", "axios": "^0.18.1",
"bootstrap": "^4.1.1", "bootstrap": "^4.3.1",
"bootstrap-vue": "^2.0.0-rc.11", "bootstrap-vue": "^2.0.0-rc.28",
"vue": "^2.5.16", "vue": "^2.5.16",
"vue-router": "^3.0.1", "vue-router": "^3.0.1",
"vuex": "^3.0.1" "vuex": "^3.0.1"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "^3.0.0-beta.15", "@vue/cli-plugin-babel": "^3.11.0",
"@vue/cli-plugin-eslint": "^3.0.0-beta.15", "@vue/cli-plugin-eslint": "^3.11.0",
"@vue/cli-service": "^3.0.0-beta.15", "@vue/cli-service": "^3.11.0",
"node-sass": "^4.9.0", "node-sass": "^4.12.0",
"sass-loader": "^7.0.3", "sass-loader": "^7.0.3",
"vue-template-compiler": "^2.5.16" "vue-template-compiler": "^2.5.16"
}, },

@ -1,6 +1,6 @@
import axios from 'axios' import axios from 'axios'
axios.defaults.baseURL = 'http://localhost:5000' axios.defaults.baseURL = process.env.VUE_APP_BASE_URL
// To avoid adding the token to every request we make to a service we can // To avoid adding the token to every request we make to a service we can
// instead use an interceptor // instead use an interceptor

Loading…
Cancel
Save