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