Add /fa/ and /s4s/ archive redirection.

This commit is contained in:
Nicolas Stepien 2013-04-06 05:01:22 +02:00
parent e8659c6514
commit 95427e247e
3 changed files with 8 additions and 2 deletions

View File

@ -4933,7 +4933,9 @@
case 'po': case 'po':
return "//archive.thedarkcave.org/" + board + "/full_image/" + filename; return "//archive.thedarkcave.org/" + board + "/full_image/" + filename;
case 'ck': case 'ck':
case 'fa':
case 'lit': case 'lit':
case 's4s':
return "//fuuka.warosu.org/" + board + "/full_image/" + filename; return "//fuuka.warosu.org/" + board + "/full_image/" + filename;
case 'cgl': case 'cgl':
case 'g': case 'g':
@ -5013,7 +5015,9 @@
url = Redirect.path('//archive.thedarkcave.org', 'foolfuuka', data); url = Redirect.path('//archive.thedarkcave.org', 'foolfuuka', data);
break; break;
case 'ck': case 'ck':
case 'fa':
case 'lit': case 'lit':
case 's4s':
url = Redirect.path('//fuuka.warosu.org', 'fuuka', data); url = Redirect.path('//fuuka.warosu.org', 'fuuka', data);
break; break;
case 'diy': case 'diy':

View File

@ -1,4 +1,6 @@
master master
- Mayhem
Add /fa/ and /s4s/ archive redirection.
2.39.2 2.39.2
- Mayhem - Mayhem

View File

@ -4086,7 +4086,7 @@ Redirect =
"//nsfw.foolz.us/#{board}/full_image/#{filename}" "//nsfw.foolz.us/#{board}/full_image/#{filename}"
when 'po' when 'po'
"//archive.thedarkcave.org/#{board}/full_image/#{filename}" "//archive.thedarkcave.org/#{board}/full_image/#{filename}"
when 'ck', 'lit' when 'ck', 'fa', 'lit', 's4s'
"//fuuka.warosu.org/#{board}/full_image/#{filename}" "//fuuka.warosu.org/#{board}/full_image/#{filename}"
when 'cgl', 'g', 'mu', 'w' when 'cgl', 'g', 'mu', 'w'
"//rbt.asia/#{board}/full_image/#{filename}" "//rbt.asia/#{board}/full_image/#{filename}"
@ -4113,7 +4113,7 @@ Redirect =
url = Redirect.path '//nsfw.foolz.us', 'foolfuuka', data url = Redirect.path '//nsfw.foolz.us', 'foolfuuka', data
when 'int', 'out', 'po' when 'int', 'out', 'po'
url = Redirect.path '//archive.thedarkcave.org', 'foolfuuka', data url = Redirect.path '//archive.thedarkcave.org', 'foolfuuka', data
when 'ck', 'lit' when 'ck', 'fa', 'lit', 's4s'
url = Redirect.path '//fuuka.warosu.org', 'fuuka', data url = Redirect.path '//fuuka.warosu.org', 'fuuka', data
when 'diy', 'sci' when 'diy', 'sci'
url = Redirect.path '//archive.installgentoo.net', 'fuuka', data url = Redirect.path '//archive.installgentoo.net', 'fuuka', data