diff options
author | Jacob Donenfeld <jedonenfeld@gmail.com> | 2022-08-14 20:34:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-14 20:34:19 +0000 |
commit | 828a30534139e2c0dc046e4145e0a9ce49c61a21 (patch) | |
tree | 7040b5f4da52d75d191a035c5ae26bf7352fbf41 | |
parent | 3cdd06e02b93880a7344a6089943e87ea05821f3 (diff) |
README AMP regex tolerance for /s/
Add tolerance to an AMP url that contains /s/
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ ### AMP redirect - Example URL: `https://www.google.com/amp/www.example.com/amp/document` -- Include pattern: `^(?:https?://)www.(?:google|bing).com/amp/(.*)` +- Include pattern: `^(?:https?://)www.(?:google|bing).com/amp/(?:s/)?(.*)` - Redirect to: `https://$1` - Pattern type: Regular Expression - Description: AMP is bad: <https://80x24.net/post/the-problem-with-amp/> |