瀏覽代碼

配置服务地址

zhaobao 1 年之前
父節點
當前提交
df65b2da00
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/settings.js
  2. 1 1
      vue.config.js

+ 1 - 1
src/settings.js

@@ -36,7 +36,7 @@ module.exports = {
   /**
   * 服务API地址
   */
-  serverUrl: 'http://113.141.93.143:1688', // 正式环境
+  serverUrl: 'http://113.141.93.143:1888', // 正式环境
   // devServerUrl: 'http://113.141.93.143:1688', // 开发环境
   devServerUrl: 'http://192.168.3.5:1888', // 开发环境 qu
   mqttUrl: 'ws://113.141.93.143:8894/mqtt', // mqtt地址

+ 1 - 1
vue.config.js

@@ -24,7 +24,7 @@ module.exports = {
    * In most cases please use '/' !!!
    * Detail: https://cli.vuejs.org/config/#publicpath
    */
-  publicPath: '/',
+  publicPath: './',
   outputDir: 'dist',
   assetsDir: 'static',
   lintOnSave: process.env.NODE_ENV === 'development',