force https
This commit is contained in:
1 parent
4a1aab453d
commit
e5ca5dd7b1
5 files changed
+27
-22
No files matched your search
@@ -1,4 +1,4 @@
|
||||
const DEV_API_URL = 'http://maitre.imomoe.cn/api/app-api'
|
||||
const DEV_API_URL = 'https://maitre.imomoe.cn/api/app-api'
|
||||
const PROD_API_URL = 'https://maitre.imomoe.cn/api/app-api'
|
||||
|
||||
// #ifdef APP-PLUS || H5 || MP-WEIXIN
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "yshop-miniapp",
|
||||
"appid" : "__UNI__ADC0FB0",
|
||||
"appid" : "__UNI__1C076DF",
|
||||
"description" : "",
|
||||
"versionName" : "1.0.0",
|
||||
"versionCode" : 1,
|
||||
@@ -401,7 +401,7 @@
|
||||
"quickapp" : {},
|
||||
/* 小程序特有相关 */
|
||||
"mp-weixin" : {
|
||||
"appid" : "wx001e2dc50bf532df",
|
||||
"appid" : "wx9453a51cb9bb4143",
|
||||
"setting" : {
|
||||
"urlCheck" : false
|
||||
},
|
||||
@@ -442,6 +442,11 @@
|
||||
"key" : "OGABZ-Y5OCF-5UWJ5-N7DHH-VFIG7-DHFEB"
|
||||
}
|
||||
}
|
||||
},
|
||||
"optimization" : {
|
||||
"treeShaking" : {
|
||||
"enable" : true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,21 +273,21 @@ const isCartShow = ref(true)
|
||||
const popup = ref()
|
||||
|
||||
// #region agent log
|
||||
const debugLog = (hypothesisId, location, message, data = {}) => {
|
||||
fetch('http://127.0.0.1:7584/ingest/889fdfba-29d4-4509-84ce-3dfa9254da00', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': 'e0348b' },
|
||||
body: JSON.stringify({
|
||||
sessionId: 'e0348b',
|
||||
runId: 'pre-fix',
|
||||
hypothesisId,
|
||||
location,
|
||||
message,
|
||||
data,
|
||||
timestamp: Date.now()
|
||||
})
|
||||
}).catch(() => {})
|
||||
}
|
||||
// const debugLog = (hypothesisId, location, message, data = {}) => {
|
||||
// fetch('http://127.0.0.1:7584/ingest/889fdfba-29d4-4509-84ce-3dfa9254da00', {
|
||||
// method: 'POST',
|
||||
// headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': 'e0348b' },
|
||||
// body: JSON.stringify({
|
||||
// sessionId: 'e0348b',
|
||||
// runId: 'pre-fix',
|
||||
// hypothesisId,
|
||||
// location,
|
||||
// message,
|
||||
// data,
|
||||
// timestamp: Date.now()
|
||||
// })
|
||||
// }).catch(() => {})
|
||||
// }
|
||||
const measureMenuLayout = () => {
|
||||
const sys = uni.getSystemInfoSync()
|
||||
const notice = !!store.value?.notice
|
||||
|
||||
@@ -4,12 +4,12 @@ NODE_ENV=production
|
||||
VITE_DEV=true
|
||||
|
||||
# 请求路径
|
||||
VITE_BASE_URL='http://localhost:48081'
|
||||
VITE_BASE_URL='http://yshop.maitre.cn:48081'
|
||||
|
||||
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
|
||||
VITE_UPLOAD_TYPE=server
|
||||
# 上传路径
|
||||
VITE_UPLOAD_URL='http://localhost:48081/admin-api/infra/file/upload'
|
||||
VITE_UPLOAD_URL='http://yshop.maitre.cn:48081/admin-api/infra/file/upload'
|
||||
|
||||
# 接口地址
|
||||
VITE_API_URL=/admin-api
|
||||
|
||||
@@ -4,12 +4,12 @@ NODE_ENV=production
|
||||
VITE_DEV=false
|
||||
|
||||
# 请求路径
|
||||
VITE_BASE_URL='http://localhost:48081'
|
||||
VITE_BASE_URL='https://maitre.imomoe.cn/api'
|
||||
|
||||
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
|
||||
VITE_UPLOAD_TYPE=server
|
||||
# 上传路径
|
||||
VITE_UPLOAD_URL='http://localhost:48081/admin-api/infra/file/upload'
|
||||
VITE_UPLOAD_URL='https://maitre.imomoe.cn/api/admin-api/infra/file/upload'
|
||||
|
||||
# 接口地址
|
||||
VITE_API_URL=/admin-api
|
||||
|
||||
Reference in new issue
Block a user