Add archived image redirection for heinessen.

This commit is contained in:
Nicolas Stepien 2012-09-03 02:33:59 +02:00
parent 92fd47d083
commit e91c198d80
3 changed files with 8 additions and 3 deletions

View File

@ -4528,6 +4528,11 @@
return "//archive.foolz.us/" + board + "/full_image/" + filename;
case 'u':
return "//nsfw.foolz.us/" + board + "/full_image/" + filename;
case 'an':
case 'k':
case 'toy':
case 'x':
return "http://archive.heinessen.com/" + board + "/full_image/" + filename;
}
},
post: function(board, postID) {

View File

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

View File

@ -3599,11 +3599,10 @@ Redirect =
"//archive.foolz.us/#{board}/full_image/#{filename}"
when 'u'
"//nsfw.foolz.us/#{board}/full_image/#{filename}"
# these will work whenever https://github.com/eksopl/fuuka/issues/23 is done
# when 'cgl', 'g', 'w'
# "//archive.rebeccablacktech.com/#{board}/full_image/#{filename}"
# when 'an', 'k', 'toy', 'x'
# "http://archive.heinessen.com/#{board}/full_image/#{filename}"
when 'an', 'k', 'toy', 'x'
"http://archive.heinessen.com/#{board}/full_image/#{filename}"
# when 'e'
# "https://www.cliché.net/4chan/cgi-board.pl/#{board}/full_image/#{filename}"
post: (board, postID) ->