Skip to content

Commit

Permalink
修改 link 规则
Browse files Browse the repository at this point in the history
  • Loading branch information
wupengFEX committed Jan 10, 2018
1 parent bdb6922 commit d60360b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"link": {
"mandatory": [{
"rel": "/^(canonical)|(miphtml)$/"
"rel": "/^(miphtml)|(canonical)$/"
}, {
"rel": "/^stylesheet$/",
"href": "/^(https:)?\/\/((mipcache\\.bdstatic\\.com\/static\/mipmain)|(mipcache\\.bdstatic\\.com\/static\/v\\d\/)|(c\\.mipcdn\\.com\/static\/v\\d\/)|(c\\.mipcdn\\.com\/static\/mipmain))/"
Expand All @@ -62,7 +62,7 @@
"duplicate": [{
"rel": "/^(miphtml)$/"
}, {
"rel": "/^(canonical)$/"
"rel": "/^(miphtml)|(canonical)$/"
}, {
"rel": "/^stylesheet$/",
"href": "/^(https:)?\/\/((mipcache\\.bdstatic\\.com\/static\/mipmain)|(c\\.mipcdn\\.com\/static\/mipmain))/"
Expand Down

0 comments on commit d60360b

Please sign in to comment.