Add /u/ archive redirection.
This commit is contained in:
parent
b2c3c6522f
commit
6df5a9311b
@ -2838,6 +2838,7 @@
|
||||
case 'm':
|
||||
case 'tg':
|
||||
case 'tv':
|
||||
case 'u':
|
||||
return "http://archivethumb.foolz.us/board/" + board + "/img/" + filename;
|
||||
}
|
||||
},
|
||||
@ -2848,6 +2849,7 @@
|
||||
case 'm':
|
||||
case 'tg':
|
||||
case 'tv':
|
||||
case 'u':
|
||||
return "http://archive.foolz.us/" + g.BOARD + "/thread/" + g.THREAD_ID;
|
||||
case 'diy':
|
||||
case 'g':
|
||||
|
||||
@ -2231,11 +2231,11 @@ redirect =
|
||||
location.href = url if url
|
||||
image: (board, filename) -> #board must be given, the image can originate from a cross-quote
|
||||
switch board
|
||||
when 'a', 'jp', 'm', 'tg', 'tv'
|
||||
when 'a', 'jp', 'm', 'tg', 'tv', 'u'
|
||||
"http://archivethumb.foolz.us/board/#{board}/img/#{filename}"
|
||||
thread: ->
|
||||
switch g.BOARD
|
||||
when 'a', 'jp', 'm', 'tg', 'tv'
|
||||
when 'a', 'jp', 'm', 'tg', 'tv', 'u'
|
||||
"http://archive.foolz.us/#{g.BOARD}/thread/#{g.THREAD_ID}"
|
||||
when 'diy', 'g', 'sci'
|
||||
"http://archive.installgentoo.net/#{g.BOARD}/thread/#{g.THREAD_ID}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user