Browse Source

Fix doujin API after e-hentai API endpoint change

spaghetti 8 years ago
parent
commit
455f119513
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/ajax/doujin.php

+ 1
- 1
sections/ajax/doujin.php View File

@@ -21,7 +21,7 @@ if ($Cache->get_value('doujin_json_'.$gid)) {
21 21
 } else {
22 22
 
23 23
   $data = json_encode(["method" => "gdata", "gidlist" => [[$gid, $token]], "namespace" => 1]);
24
-  $curl = curl_init('http://g.e-hentai.org/api.php');
24
+  $curl = curl_init('http://e-hentai.org/api.php');
25 25
   curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST");
26 26
   curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
27 27
   curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);

Loading…
Cancel
Save