Fix syntax error
This commit is contained in:
parent
b9542c2e20
commit
be87d94d5f
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ begin
|
|||
'sub_filter_types *;' \
|
||||
'sub_filter \'</head>\' \'<script language="javascript">(()=>{var t="$app";let e=history.pushState;history.pushState=function a(){arguments[2]&&!arguments[2].startsWith("/"+t)&&(arguments[2]="/"+t+arguments[2]);let s=e.apply(this,arguments);return window.dispatchEvent(new Event("pushstate")),s};let a=history.replaceState;history.replaceState=function e(){arguments[2]&&!arguments[2].startsWith("/"+t)&&(arguments[2]="/"+t+arguments[2]);let s=a.apply(this,arguments);return window.dispatchEvent(new Event("replacestate")),s},window.addEventListener("popstate",()=>{console.log("popstate")})})();</script></head>\';' \
|
||||
'sub_filter \'href="/"\' \'href="/$app"\';' \
|
||||
'sub_filter \'href="/login"\' \'href="/$app/login"\'' \
|
||||
'sub_filter \'href="/login"\' \'href="/$app/login"\';' \
|
||||
'sub_filter \'href:"/"\' \'href:"/$app"\';' \
|
||||
'sub_filter \'\/_next\' \'\/$app\/_next\';' \
|
||||
'sub_filter \'/_next\' \'/$app/_next\';' \
|
||||
|
|
Loading…
Reference in a new issue