Procházet zdrojové kódy

Commented out baseURL for local host on main.js

master
Lene před 5 roky
rodič
revize
528081a6f1
2 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 1
    1
      src/main.js
  2. 2
    1
      vue.config.js

+ 1
- 1
src/main.js Zobrazit soubor

@@ -10,7 +10,7 @@ import store from './store';
10 10
 Vue.use(EvaIcons);
11 11
 
12 12
 Vue.config.productionTip = false;
13
-axios.defaults.baseURL = 'http://localhost:57260/';
13
+// axios.defaults.baseURL = 'http://localhost:57260/';
14 14
 Vue.prototype.$axios = axios;
15 15
 
16 16
 Vue.prototype.$http = axios;

+ 2
- 1
vue.config.js Zobrazit soubor

@@ -2,7 +2,8 @@ module.exports = {
2 2
   devServer: {
3 3
     proxy: {
4 4
       '/api': {
5
-        target: 'http://192.168.6.188:5000',
5
+        target: 'http://localhost:57260/',
6
+        // target: 'http://192.168.6.188:5000',
6 7
         changeOrigin: true,
7 8
       },
8 9
       '/nph-srep': {

Načítá se…
Zrušit
Uložit