Commit e16b20bb authored by 前端-许佳敏's avatar 前端-许佳敏

feat: 添加构建前接口的source字段

parent 6ea840d8
......@@ -28,6 +28,9 @@ console.log(`\n当前访问的后端url是${remoteUrl}!!!!!!`)
const axios = Axios.create({
baseURL: remoteUrl,
responseType: 'json',
headers: {
"source": "1"
}
})
if (!SITE_ID) {
......@@ -134,4 +137,4 @@ async function batchAxiosHttps() {
return isDemo ? Object.assign(asyncHttpQueue, await demoFetch()) : asyncHttpQueue
}
exports.fetchConfig = batchAxiosHttps
\ No newline at end of file
exports.fetchConfig = batchAxiosHttps
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment