diff --git a/.travis.yml b/.travis.yml index c3bbd7a..6f5f261 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,15 +4,6 @@ node_js: cache: npm -install: - - npm install -g @vue/cli-service-global - - npm install -g @vue/cli-plugin-babel - - npm install -g @vue/cli-plugin-unit-jest - - npm install -g @vue/cli-plugin-eslint - - npm install @vue/cli-plugin-unit-jest - - npm i -g vue-template-compiler - - npm install - script: npm run build branches: diff --git a/src/main.js b/src/main.js index dc1a0aa..2c45ba8 100644 --- a/src/main.js +++ b/src/main.js @@ -6,7 +6,7 @@ import Toast from "vue-toastification"; import "vue-toastification/dist/index.css"; import axios from "axios"; -axios.defaults.baseURL = process.env.VUE_APP_API_BASE_URL +axios.defaults.baseURL = 'https://api.metisapp.net' const options = { }; @@ -14,9 +14,9 @@ const options = { Vue.use(Toast, options); //Devtools variables -Vue.config.performance = process.env.NODE_ENV !== 'production' -Vue.config.development = process.env.NODE_ENV !== 'production' -Vue.config.productionTip = process.env.NODE_ENV !== 'production' +Vue.config.performance = process.env.NODE_ENV !== 'travis' +Vue.config.development = process.env.NODE_ENV !== 'travis' +Vue.config.productionTip = process.env.NODE_ENV !== 'travis' new Vue({ router,