src/index.js
@@ -147,6 +147,10 @@ } else if (!/webapi\/dostars$/ig.test(systemApi)) { systemApi = systemApi.replace(/\/?$/, '/webapi/dostars') } if (/^https/.test(window.location.protocol) && /^http:/.test(systemApi) && !GLOB.transfer) { systemApi = systemApi.replace(/^http:/, 'https:') } GLOB.mainSystemApi = systemApi }