Commit d2248ad8 authored by 邓晓峰's avatar 邓晓峰

fix: 修复HTTP劫持

parent 89e646ef
Pipeline #49002 passed with stages
in 2 minutes 16 seconds
...@@ -135,12 +135,11 @@ export const initMicroApps = () => { ...@@ -135,12 +135,11 @@ export const initMicroApps = () => {
singular: false, singular: false,
scopedCSS: true, scopedCSS: true,
prefetch: 'all', prefetch: 'all',
// getTemplate(tpl){ getTemplate(tpl) {
// tpl = tpl.replace('<script src="http://18.10.10.253:89/cookie/flash.js"><script>', ''); return tpl.replace('<script language="javascript">setURL("18.10.10.253");supFlash(getVersion("td_cookie"));</script>', '');
// return tpl; },
// },
async fetch(url, ...args) { async fetch(url, ...args) {
if (url.indexOf('/cookie/flash.js') > -1) { if (url.indexOf('cookie/flash.js') > -1) {
return { return {
async text() { async text() {
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