ソースを参照

Commented out baseURL for local host on main.js

master
Lene 5年前
コミット
528081a6f1
2個のファイルの変更3行の追加2行の削除
  1. 1
    1
      src/main.js
  2. 2
    1
      vue.config.js

+ 1
- 1
src/main.js ファイルの表示

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

+ 2
- 1
vue.config.js ファイルの表示

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

読み込み中…
キャンセル
保存