shaogen1995 %!s(int64=3) %!d(string=hai) anos
pai
achega
7d82b2a6e7
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 2 2
      web/public/static/js/manage.js
  2. 2 2
      web/src/utils/request.js

+ 2 - 2
web/public/static/js/manage.js

@@ -1,8 +1,8 @@
   
 var g_ProjectName=window.location.pathname.substring(window.location.pathname.indexOf("/")+1,window.location.pathname.lastIndexOf("/"));
 // var g_Prefix="https://super.4dage.com/";
-var g_Prefix="http://project.4dage.com:8017/";//有自己的大场景编辑后台的 - 线上场景调试
-// var g_Prefix=window.origin+'/';//有自己的大场景编辑后台的 - 打包
+// var g_Prefix="http://project.4dage.com:8017/";//有自己的大场景编辑后台的 - 线上场景调试
+var g_Prefix=window.origin+'/';//有自己的大场景编辑后台的 - 打包
 // var g_Prefix=window.location.href.substring(0,window.location.href.indexOf("/index.html")+1);
 var s = window.location.href.split('/');
     s.pop();

+ 2 - 2
web/src/utils/request.js

@@ -1,8 +1,8 @@
 import axios from 'axios'
 const service = axios.create({
   // baseURL: 'http://192.168.0.135:8017', // 本地调试
-  baseURL: 'http://project.4dage.com:8017', // 线上调试
-  // baseURL: '', // build
+  // baseURL: 'http://project.4dage.com:8017', // 线上调试
+  baseURL: '', // build
   timeout: 5000
 })
 // 请求拦截器