aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc-jp/README.siteconf6
-rw-r--r--doc/README.siteconf6
2 files changed, 6 insertions, 6 deletions
diff --git a/doc-jp/README.siteconf b/doc-jp/README.siteconf
index 0c2c6c4..4189712 100644
--- a/doc-jp/README.siteconf
+++ b/doc-jp/README.siteconf
@@ -20,10 +20,10 @@ user_agent "string"
===== 例 =====
-url "https://twitter.com/"
-substitute_url "https://mobile.twitter.com/"
+url m!^https?://([a-z]+\.)?twitter\.com/!
+substitute_url "https://nitter.net/"
-twitter.com をモバイルサイトに転送します。
+twitter.com を代替サイトに転送します。
url "http://your.bookmark.net/"
no_referer_from on
diff --git a/doc/README.siteconf b/doc/README.siteconf
index 5eb2554..0369926 100644
--- a/doc/README.siteconf
+++ b/doc/README.siteconf
@@ -19,10 +19,10 @@ The last match wins.
===== Examples =====
-url "https://twitter.com/"
-substitute_url "https://mobile.twitter.com/"
+url m!^https?://([a-z]+\.)?twitter\.com/!
+substitute_url "https://nitter.net/"
-This forwards the twitter.com to its mobile site.
+This forwards twitter.com to the alternative site.
url "http://your.bookmark.net/"
no_referer_from on