Merge pull request #359 from MayhemYDG/master

Update archive redirection
This commit is contained in:
James Campos 2011-10-30 14:32:32 -07:00
commit 450650cabb
2 changed files with 5 additions and 7 deletions

View File

@ -2728,7 +2728,7 @@
case 'g': case 'g':
case 'pol': case 'pol':
case 'sci': case 'sci':
url = "http://archive.installgentoo.net/cgi-board.pl/" + g.BOARD + "/thread/" + g.THREAD_ID; url = "http://archive.installgentoo.net/" + g.BOARD + "/thread/" + g.THREAD_ID;
break; break;
case 'lit': case 'lit':
case 'tv': case 'tv':
@ -2736,9 +2736,7 @@
break; break;
case 'a': case 'a':
case 'jp': case 'jp':
case 'm': url = "http://archive.foolz.us/" + g.BOARD + "/thread/" + g.THREAD_ID;
case 'tg':
url = "http://archive.easymodo.net/" + g.BOARD + "/thread/" + g.THREAD_ID;
break; break;
case '3': case '3':
case 'adv': case 'adv':

View File

@ -2035,11 +2035,11 @@ Favicon =
redirect = -> redirect = ->
switch g.BOARD switch g.BOARD
when 'diy', 'g', 'pol', 'sci' when 'diy', 'g', 'pol', 'sci'
url = "http://archive.installgentoo.net/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}" url = "http://archive.installgentoo.net/#{g.BOARD}/thread/#{g.THREAD_ID}"
when 'lit', 'tv' when 'lit', 'tv'
url = "http://archive.gentoomen.org/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}" url = "http://archive.gentoomen.org/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}"
when 'a', 'jp', 'm', 'tg' when 'a', 'jp'
url = "http://archive.easymodo.net/#{g.BOARD}/thread/#{g.THREAD_ID}" url = "http://archive.foolz.us/#{g.BOARD}/thread/#{g.THREAD_ID}"
when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x' when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x'
url = "http://archive.no-ip.org/#{g.BOARD}/thread/#{g.THREAD_ID}" url = "http://archive.no-ip.org/#{g.BOARD}/thread/#{g.THREAD_ID}"
else else