Skip to content

Commit

Permalink
bugfix: 调整github油猴脚本的拦截配置,修复在先访问其他页面(如:issue、PR页面),再通过tab切换到code页面时,由…
Browse files Browse the repository at this point in the history
…于页面是局部刷新,导致油猴脚本未加载的问题。 (#289)
  • Loading branch information
wangliang181230 authored Apr 8, 2024
1 parent 43c7ac8 commit 6f45f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = {
'/.*/.*/blame/': {
redirect: 'gh.api.99988866.xyz/https://github.com'
},
'^/[^/]+/[^/]+(/releases(/.*)?)?$': {
'^(/[^/]+){2}([/?].*)?$': {
script: [
'github'
],
Expand Down

0 comments on commit 6f45f48

Please sign in to comment.