Add /lit/ archive redirection.

This commit is contained in:
Nicolas Stepien 2011-12-29 02:08:52 +01:00
parent 6df5a9311b
commit fcc0d61f72
2 changed files with 6 additions and 2 deletions

View File

@ -2850,7 +2850,9 @@
case 'tg':
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 'lit':
return "http://fuuka.warosu.org/" + g.BOARD + "/thread/" + g.THREAD_ID;
case 'diy':
case 'g':
case 'sci':

View File

@ -2236,7 +2236,9 @@ redirect =
thread: ->
switch g.BOARD
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 'lit'
"http://fuuka.warosu.org/#{g.BOARD}/thread/#{g.THREAD_ID}"
when 'diy', 'g', 'sci'
"http://archive.installgentoo.net/#{g.BOARD}/thread/#{g.THREAD_ID}"
when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'pol', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x'