Skip to content
Permalink
Browse files

Prefer local endpoint

  • Loading branch information
Marlamin committed Jan 12, 2020
1 parent 34affde commit 45b6c6927b729533cd5875a3414e10f2ad938f39
Showing with 2 additions and 2 deletions.
  1. +2 −2 builds/scripts/encrypted.php
@@ -69,7 +69,7 @@ function reverseLookup($bytes){

$inserted = 0;

$db2 = file_get_contents("https://wow.tools/dbc/api/data/tactkeylookup/?build=".$fullbuild."&draw=1&start=0&length=1000");
$db2 = file_get_contents("http://127.0.0.1:5000/api/data/tactkeylookup/?build=".$fullbuild."&draw=1&start=0&length=1000");
$tactkeylookups = json_decode($db2, true)['data'];
echo "[TACT key list] Have " . count($tactkeylookups) ." TACT key lookups from tactkeylookup.db2..\n";

@@ -95,7 +95,7 @@ function reverseLookup($bytes){

$updated = 0;

$db2 = file_get_contents("https://wow.tools/dbc/api/data/tactkey/?build=".$fullbuild."&draw=1&start=0&length=1000");
$db2 = file_get_contents("http://127.0.0.1:5000/api/data/tactkey/?build=".$fullbuild."&draw=1&start=0&length=1000");
$tactkeys = json_decode($db2, true)['data'];
echo "[TACT key list] Have " . count($tactkeys) ." TACT keys from tactkey.db2..\n";

0 comments on commit 45b6c69

Please sign in to comment.
You can’t perform that action at this time.