Browse Source

a

production
Yiğit Çolakoğlu 4 years ago
parent
commit
d844cd6bb5
2 changed files with 4 additions and 13 deletions
  1. +0
    -9
      .travis.yml
  2. +4
    -4
      src/main.js

+ 0
- 9
.travis.yml View File

@ -4,15 +4,6 @@ node_js:
cache: npm 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 script: npm run build
branches: branches:


+ 4
- 4
src/main.js View File

@ -6,7 +6,7 @@ import Toast from "vue-toastification";
import "vue-toastification/dist/index.css"; import "vue-toastification/dist/index.css";
import axios from "axios"; import axios from "axios";
axios.defaults.baseURL = process.env.VUE_APP_API_BASE_URL
axios.defaults.baseURL = 'https://api.metisapp.net'
const options = { const options = {
}; };
@ -14,9 +14,9 @@ const options = {
Vue.use(Toast, options); Vue.use(Toast, options);
//Devtools variables //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({ new Vue({
router, router,


Loading…
Cancel
Save