aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitoffthelawn <Gitoffthelawn@users.noreply.github.com>2023-01-16 23:34:27 -0800
committerGitHub <noreply@github.com>2023-01-16 23:34:27 -0800
commit03f39921b8889417f74bdca48044a01f15102266 (patch)
tree43a71097870e0d0a1287b64bb19306afdde8f21f
parentc9a2713d6e0949cd7d9732e9e3486a6fd78161b1 (diff)
parent828a30534139e2c0dc046e4145e0a9ce49c61a21 (diff)
Merge pull request #318 from jacobdonenfeld/patch-1
README AMP regex tolerance for /s/
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index ff283e7..58716b3 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ Opera extension is no longer present (as of 2023/01/16)
### 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/>