瀏覽代碼

配置文件

shish 11 月之前
父節點
當前提交
7cf206c524
共有 4 個文件被更改,包括 11 次插入2 次删除
  1. 2 2
      hdh5/config.js
  2. 3 0
      开发http/hdh5/config.js
  3. 3 0
      开发https/hdh5/config.js
  4. 3 0
      线上/hdh5/config.js

+ 2 - 2
hdh5/config.js

@@ -1,3 +1,3 @@
 // API 配置
-export const APIHOST = process.env.VUE_APP_API_BASE_URL || 'https://api.example.com'
-export const IMGHOST = process.env.VUE_APP_IMG_BASE_URL || 'https://img.example.com'
+export const APIHOST = 'https://api.shop.huaml.com'
+export const IMGHOST = 'https://img.huaml.com'

+ 3 - 0
开发http/hdh5/config.js

@@ -0,0 +1,3 @@
+// API 配置
+export const APIHOST = 'http://api.shop.huaml.com'
+export const IMGHOST = 'http://img.huaml.com'

+ 3 - 0
开发https/hdh5/config.js

@@ -0,0 +1,3 @@
+// API 配置
+export const APIHOST = 'https://api.shop.huaml.com'
+export const IMGHOST = 'https://img.huaml.com'

+ 3 - 0
线上/hdh5/config.js

@@ -0,0 +1,3 @@
+// API 配置
+export const APIHOST = 'https://api.shop.huahb.cn'
+export const IMGHOST = 'https://img.huahb.cn'