Close #921.
This commit is contained in:
parent
1f94b35df4
commit
b587719af8
@ -4782,6 +4782,7 @@
|
|||||||
return "//archive.foolz.us/" + board + "/full_image/" + filename;
|
return "//archive.foolz.us/" + board + "/full_image/" + filename;
|
||||||
case 'u':
|
case 'u':
|
||||||
return "//nsfw.foolz.us/" + board + "/full_image/" + filename;
|
return "//nsfw.foolz.us/" + board + "/full_image/" + filename;
|
||||||
|
case 'int':
|
||||||
case 'po':
|
case 'po':
|
||||||
return "http://archive.thedarkcave.org/" + board + "/full_image/" + filename;
|
return "http://archive.thedarkcave.org/" + board + "/full_image/" + filename;
|
||||||
case 'ck':
|
case 'ck':
|
||||||
@ -4820,6 +4821,8 @@
|
|||||||
case 'u':
|
case 'u':
|
||||||
case 'kuku':
|
case 'kuku':
|
||||||
return "//nsfw.foolz.us/_/api/chan/post/?board=" + board + "&num=" + postID;
|
return "//nsfw.foolz.us/_/api/chan/post/?board=" + board + "&num=" + postID;
|
||||||
|
case 'c':
|
||||||
|
case 'int':
|
||||||
case 'po':
|
case 'po':
|
||||||
return "http://archive.thedarkcave.org/_/api/chan/post/?board=" + board + "&num=" + postID;
|
return "http://archive.thedarkcave.org/_/api/chan/post/?board=" + board + "&num=" + postID;
|
||||||
}
|
}
|
||||||
@ -4850,6 +4853,7 @@
|
|||||||
case 'kuku':
|
case 'kuku':
|
||||||
url = Redirect.path('//nsfw.foolz.us', 'foolfuuka', data);
|
url = Redirect.path('//nsfw.foolz.us', 'foolfuuka', data);
|
||||||
break;
|
break;
|
||||||
|
case 'int':
|
||||||
case 'po':
|
case 'po':
|
||||||
url = Redirect.path('http://archive.thedarkcave.org', 'foolfuuka', data);
|
url = Redirect.path('http://archive.thedarkcave.org', 'foolfuuka', data);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
master
|
master
|
||||||
|
- Mayhem
|
||||||
|
Add /int/ archive redirection for threads, and post resurrection.
|
||||||
|
|
||||||
2.37.6
|
2.37.6
|
||||||
- Mayhem
|
- Mayhem
|
||||||
|
|||||||
@ -3944,7 +3944,7 @@ Redirect =
|
|||||||
"//archive.foolz.us/_/api/chan/post/?board=#{board}&num=#{postID}"
|
"//archive.foolz.us/_/api/chan/post/?board=#{board}&num=#{postID}"
|
||||||
when 'u', 'kuku'
|
when 'u', 'kuku'
|
||||||
"//nsfw.foolz.us/_/api/chan/post/?board=#{board}&num=#{postID}"
|
"//nsfw.foolz.us/_/api/chan/post/?board=#{board}&num=#{postID}"
|
||||||
when 'po'
|
when 'c', 'int', 'po'
|
||||||
"http://archive.thedarkcave.org/_/api/chan/post/?board=#{board}&num=#{postID}"
|
"http://archive.thedarkcave.org/_/api/chan/post/?board=#{board}&num=#{postID}"
|
||||||
to: (data) ->
|
to: (data) ->
|
||||||
unless data.isSearch
|
unless data.isSearch
|
||||||
@ -3955,7 +3955,7 @@ Redirect =
|
|||||||
url = Redirect.path '//archive.foolz.us', 'foolfuuka', data
|
url = Redirect.path '//archive.foolz.us', 'foolfuuka', data
|
||||||
when 'u', 'kuku'
|
when 'u', 'kuku'
|
||||||
url = Redirect.path '//nsfw.foolz.us', 'foolfuuka', data
|
url = Redirect.path '//nsfw.foolz.us', 'foolfuuka', data
|
||||||
when 'po'
|
when 'int', 'po'
|
||||||
url = Redirect.path 'http://archive.thedarkcave.org', 'foolfuuka', data
|
url = Redirect.path 'http://archive.thedarkcave.org', 'foolfuuka', data
|
||||||
when 'ck', 'lit'
|
when 'ck', 'lit'
|
||||||
url = Redirect.path '//fuuka.warosu.org', 'fuuka', data
|
url = Redirect.path '//fuuka.warosu.org', 'fuuka', data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user