~edwardloveall/scribe

0d9170b8d64fcdbe6bef116106a6e2b20183944b — Martin Puppe 6 days ago e127a67
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.
1 files changed, 1 insertions(+), 1 deletions(-)

M src/pages/home/index_page.cr
M src/pages/home/index_page.cr => src/pages/home/index_page.cr +1 -1
@@ 53,7 53,7 @@ class Home::IndexPage < MainLayout
          end
          li do
            strong "Include pattern: "
            code ".*medium.com/(.*)"
            code "^https?://(?:.*\\.)*medium.com/(.*)$"
          end
          li do
            strong "Redirect to: "