Set up archived image redirection link.
This commit is contained in:
parent
4041419a3d
commit
58505f693d
@ -2846,7 +2846,7 @@
|
||||
case 'tg':
|
||||
case 'tv':
|
||||
case 'u':
|
||||
return "http://archivethumb.foolz.us/board/" + board + "/img/" + filename;
|
||||
return "http://archive.foolz.us/" + board + "/full_image/" + filename;
|
||||
}
|
||||
},
|
||||
thread: function() {
|
||||
|
||||
@ -2235,7 +2235,7 @@ redirect =
|
||||
image: (board, filename) -> #board must be given, the image can originate from a cross-quote
|
||||
switch board
|
||||
when 'a', 'jp', 'm', 'tg', 'tv', 'u'
|
||||
"http://archivethumb.foolz.us/board/#{board}/img/#{filename}"
|
||||
"http://archive.foolz.us/#{board}/full_image/#{filename}"
|
||||
thread: ->
|
||||
switch g.BOARD
|
||||
when 'a', 'jp', 'm', 'tg', 'tv', 'u'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user