diff --git a/CHANGELOG.md b/CHANGELOG.md index cda2ec51f..e1c8f4f54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - Always use a specific persona. - Per-board configuration. - Access it in the `QR` tab of the Settings window. +- Updated archive redirection for /h/, /v/ and /vg/. ### 3.2.3 - *2013-04-30* diff --git a/src/Archive/Redirect.coffee b/src/Archive/Redirect.coffee index da434e945..da18202c7 100644 --- a/src/Archive/Redirect.coffee +++ b/src/Archive/Redirect.coffee @@ -12,8 +12,10 @@ Redirect = "http://archive.4plebs.org/#{boardID}/full_image/#{filename}" when 'c', 'w', 'wg' "//archive.nyafuu.org/#{boardID}/full_image/#{filename}" - when 'd' + when 'd', 'h', 'v' "//loveisover.me/#{boardID}/full_image/#{filename}" + when 'vg' + "http://nth.pensivenonsen.se/#{boardID}/full_image/#{filename}" when 'ck', 'fa', 'lit', 's4s' "//fuuka.warosu.org/#{boardID}/full_image/#{filename}" when 'cgl', 'g', 'mu' @@ -34,8 +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 'd' + when 'd', 'h', 'v' "//loveisover.me/_/api/chan/post/?board=#{boardID}&num=#{postID}" + when 'vg' + "http://nth.pensivenonsen.se/_/api/chan/post/?board=#{boardID}&num=#{postID}" # for fuuka-based archives: # https://github.com/eksopl/fuuka/issues/27 to: (data) -> @@ -51,8 +55,10 @@ Redirect = Redirect.path 'http://archive.4plebs.org', 'foolfuuka', data when 'c', 'w', 'wg' Redirect.path '//archive.nyafuu.org', 'foolfuuka', data - when 'd' + when 'd', 'h', 'v' Redirect.path '//loveisover.me', 'foolfuuka', data + when 'vg' + Redirect.path 'http://nth.pensivenonsen.se', 'foolfuuka', data when 'ck', 'fa', 'lit', 's4s' Redirect.path '//fuuka.warosu.org', 'fuuka', data when 'diy', 'g', 'sci'