aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Donenfeld <jedonenfeld@gmail.com>2022-08-14 20:34:19 +0000
committerGitHub <noreply@github.com>2022-08-14 20:34:19 +0000
commit828a30534139e2c0dc046e4145e0a9ce49c61a21 (patch)
tree7040b5f4da52d75d191a035c5ae26bf7352fbf41
parent3cdd06e02b93880a7344a6089943e87ea05821f3 (diff)
README AMP regex tolerance for /s/
Add tolerance to an AMP url that contains /s/
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index dc66af2..22e4719 100644
--- a/README.md
+++ b/README.md
@@ -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/>