From d844cd6bb5931e884eb33a7a8dd21353945773ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20=C3=87olako=C4=9Flu?= Date: Wed, 27 Jan 2021 15:34:37 +0300 Subject: [PATCH] a --- .travis.yml | 9 --------- src/main.js | 8 ++++---- 2 files changed, 4 insertions(+), 13 deletions(-) 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,