parent
ecf8632331
commit
01ed414486
@ -1,3 +1,4 @@
|
||||
- Update archive redirection for /c/, /d/, /v/, /vg/, /w/ and /wg/.
|
||||
- Minor fixes.
|
||||
|
||||
### 3.2.2 - *2013-04-27*
|
||||
|
||||
@ -12,6 +12,10 @@ Redirect =
|
||||
"http://archive.4plebs.org/#{boardID}/full_image/#{filename}"
|
||||
when 'c', 'w', 'wg'
|
||||
"//archive.nyafuu.org/#{boardID}/full_image/#{filename}"
|
||||
when 'vg'
|
||||
"http://archive.nihil-ad-rem.net/#{boardID}/full_image/#{filename}"
|
||||
when 'd'
|
||||
"//loveisover.me/#{boardID}/full_image/#{filename}"
|
||||
when 'ck', 'fa', 'lit', 's4s'
|
||||
"//fuuka.warosu.org/#{boardID}/full_image/#{filename}"
|
||||
when 'cgl', 'g', 'mu'
|
||||
@ -32,6 +36,10 @@ Redirect =
|
||||
"http://archive.4plebs.org/_/api/chan/post/?board=#{boardID}&num=#{postID}"
|
||||
when 'c', 'w', 'wg'
|
||||
"//archive.nyafuu.org/_/api/chan/post/?board=#{boardID}&num=#{postID}"
|
||||
when 'v', 'vg'
|
||||
"http://archive.nihil-ad-rem.net/_/api/chan/post/?board=#{boardID}&num=#{postID}"
|
||||
when 'd'
|
||||
"//loveisover.me/_/api/chan/post/?board=#{boardID}&num=#{postID}"
|
||||
# for fuuka-based archives:
|
||||
# https://github.com/eksopl/fuuka/issues/27
|
||||
to: (data) ->
|
||||
@ -47,6 +55,10 @@ Redirect =
|
||||
Redirect.path 'http://archive.4plebs.org', 'foolfuuka', data
|
||||
when 'c', 'w', 'wg'
|
||||
Redirect.path '//archive.nyafuu.org', 'foolfuuka', data
|
||||
when 'v', 'vg'
|
||||
Redirect.path 'http://archive.nihil-ad-rem.net', 'foolfuuka', data
|
||||
when 'd'
|
||||
Redirect.path '//loveisover.me', 'foolfuuka', data
|
||||
when 'ck', 'fa', 'lit', 's4s'
|
||||
Redirect.path '//fuuka.warosu.org', 'fuuka', data
|
||||
when 'diy', 'g', 'sci'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user