Commit dbd2e16b authored by Allen Bai's avatar Allen Bai

feat: 本地开发备案号 写死

parent 79d47fdc
...@@ -139,6 +139,11 @@ async function mountIPCFooter(opts: IPCFooterOptions = {}) { ...@@ -139,6 +139,11 @@ async function mountIPCFooter(opts: IPCFooterOptions = {}) {
IPCNumberString = '预发IPC备案号-写死' IPCNumberString = '预发IPC备案号-写死'
} }
let hostName = window.location.hostname
if (hostName === '127.0.0.1' || hostName === 'localhost') {
IPCNumberString = '本地开发IPC备案号-写死'
}
if (!IPCNumberString) { if (!IPCNumberString) {
currentTaskId = null currentTaskId = null
return return
......
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