thedarkcave now has https support.
This commit is contained in:
parent
b587719af8
commit
43aae50ac5
@ -4782,9 +4782,8 @@
|
|||||||
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 "//archive.thedarkcave.org/" + board + "/full_image/" + filename;
|
||||||
case 'ck':
|
case 'ck':
|
||||||
case 'lit':
|
case 'lit':
|
||||||
return "//fuuka.warosu.org/" + board + "/full_image/" + filename;
|
return "//fuuka.warosu.org/" + board + "/full_image/" + filename;
|
||||||
@ -4824,7 +4823,7 @@
|
|||||||
case 'c':
|
case 'c':
|
||||||
case 'int':
|
case 'int':
|
||||||
case 'po':
|
case 'po':
|
||||||
return "http://archive.thedarkcave.org/_/api/chan/post/?board=" + board + "&num=" + postID;
|
return "//archive.thedarkcave.org/_/api/chan/post/?board=" + board + "&num=" + postID;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
to: function(data) {
|
to: function(data) {
|
||||||
@ -4855,7 +4854,7 @@
|
|||||||
break;
|
break;
|
||||||
case 'int':
|
case 'int':
|
||||||
case 'po':
|
case 'po':
|
||||||
url = Redirect.path('http://archive.thedarkcave.org', 'foolfuuka', data);
|
url = Redirect.path('//archive.thedarkcave.org', 'foolfuuka', data);
|
||||||
break;
|
break;
|
||||||
case 'ck':
|
case 'ck':
|
||||||
case 'lit':
|
case 'lit':
|
||||||
|
|||||||
@ -3929,7 +3929,7 @@ Redirect =
|
|||||||
when 'u'
|
when 'u'
|
||||||
"//nsfw.foolz.us/#{board}/full_image/#{filename}"
|
"//nsfw.foolz.us/#{board}/full_image/#{filename}"
|
||||||
when 'po'
|
when 'po'
|
||||||
"http://archive.thedarkcave.org/#{board}/full_image/#{filename}"
|
"//archive.thedarkcave.org/#{board}/full_image/#{filename}"
|
||||||
when 'ck', 'lit'
|
when 'ck', 'lit'
|
||||||
"//fuuka.warosu.org/#{board}/full_image/#{filename}"
|
"//fuuka.warosu.org/#{board}/full_image/#{filename}"
|
||||||
when 'cgl', 'g', 'mu', 'w'
|
when 'cgl', 'g', 'mu', 'w'
|
||||||
@ -3945,7 +3945,7 @@ Redirect =
|
|||||||
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 'c', 'int', 'po'
|
when 'c', 'int', 'po'
|
||||||
"http://archive.thedarkcave.org/_/api/chan/post/?board=#{board}&num=#{postID}"
|
"//archive.thedarkcave.org/_/api/chan/post/?board=#{board}&num=#{postID}"
|
||||||
to: (data) ->
|
to: (data) ->
|
||||||
unless data.isSearch
|
unless data.isSearch
|
||||||
{threadID} = data
|
{threadID} = data
|
||||||
@ -3956,7 +3956,7 @@ Redirect =
|
|||||||
when 'u', 'kuku'
|
when 'u', 'kuku'
|
||||||
url = Redirect.path '//nsfw.foolz.us', 'foolfuuka', data
|
url = Redirect.path '//nsfw.foolz.us', 'foolfuuka', data
|
||||||
when 'int', 'po'
|
when 'int', 'po'
|
||||||
url = Redirect.path 'http://archive.thedarkcave.org', 'foolfuuka', data
|
url = Redirect.path '//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
|
||||||
when 'diy', 'sci'
|
when 'diy', 'sci'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user