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