Improve proposed pattern for Redirector extension
The old pattern matches all host names that end with medium.com. The new pattern matches only medium.com and its sub-domains. For example, the old pattern would have matched https://foomedium.com/@user/post-123456abcdef.
This commit is contained in:
parent
e127a67c6b
commit
0d9170b8d6
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class Home::IndexPage < MainLayout
|
||||||
end
|
end
|
||||||
li do
|
li do
|
||||||
strong "Include pattern: "
|
strong "Include pattern: "
|
||||||
code ".*medium.com/(.*)"
|
code "^https?://(?:.*\\.)*medium.com/(.*)$"
|
||||||
end
|
end
|
||||||
li do
|
li do
|
||||||
strong "Redirect to: "
|
strong "Redirect to: "
|
||||||
|
|
Loading…
Reference in a new issue