Add /dev/, /foolz/ and /kuku/ to archive 'redirections'.

This commit is contained in:
Nicolas Stepien 2012-06-17 18:42:46 +02:00
parent be7b1574bd
commit 2bcf1b6719
2 changed files with 4 additions and 1 deletions

View File

@ -3783,6 +3783,9 @@
case 'u':
case 'v':
case 'vg':
case 'dev':
case 'foolz':
case 'kuku':
url = "//archive.foolz.us/" + path + "/";
if (threadID && postID) {
url += "#" + postID;

View File

@ -2900,7 +2900,7 @@ Redirect =
else
"#{board}/post/#{postID}"
switch board
when 'a', 'co', 'jp', 'm', 'tg', 'tv', 'u', 'v', 'vg'
when 'a', 'co', 'jp', 'm', 'tg', 'tv', 'u', 'v', 'vg', 'dev', 'foolz', 'kuku'
url = "//archive.foolz.us/#{path}/"
if threadID and postID
url += "##{postID}"