force https

This commit is contained in:
Kroytz committed 2026-07-07 15:53:43 +08:00
1 parent 4a1aab453d
commit e5ca5dd7b1
5 files changed
+27 -22

No files matched your search

+15 -15
View File
@@ -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