Add archived image redirection for warosu.

This commit is contained in:
Nicolas Stepien 2012-09-03 21:40:01 +02:00
parent a3885eb4fc
commit b7cdd5d544
3 changed files with 6 additions and 1 deletions

View File

@ -4527,6 +4527,9 @@
return "//archive.foolz.us/" + board + "/full_image/" + filename; return "//archive.foolz.us/" + board + "/full_image/" + filename;
case 'u': case 'u':
return "//nsfw.foolz.us/" + board + "/full_image/" + filename; return "//nsfw.foolz.us/" + board + "/full_image/" + filename;
case 'ck':
case 'lit':
return "//fuuka.warosu.org/" + board + "/full_image/" + filename;
case 'cgl': case 'cgl':
case 'g': case 'g':
case 'w': case 'w':

View File

@ -1,6 +1,6 @@
master master
- Mayhem - Mayhem
Add /an/, /cgl/, /g/, /k/, /toy/, /w/ and /x/ archived image redirection. Add /g/, /k/, /w/, /an/, /cgl/, /ck/, /lit/, /toy/ and /x/ archived image redirection.
One-word-captcha now works in the report window. One-word-captcha now works in the report window.
Fix duplicate file upload error link. Fix duplicate file upload error link.

View File

@ -3598,6 +3598,8 @@ Redirect =
"//archive.foolz.us/#{board}/full_image/#{filename}" "//archive.foolz.us/#{board}/full_image/#{filename}"
when 'u' when 'u'
"//nsfw.foolz.us/#{board}/full_image/#{filename}" "//nsfw.foolz.us/#{board}/full_image/#{filename}"
when 'ck', 'lit'
"//fuuka.warosu.org/#{board}/full_image/#{filename}"
when 'cgl', 'g', 'w' when 'cgl', 'g', 'w'
"//archive.rebeccablacktech.com/#{board}/full_image/#{filename}" "//archive.rebeccablacktech.com/#{board}/full_image/#{filename}"
when 'an', 'k', 'toy', 'x' when 'an', 'k', 'toy', 'x'