From ec19d6b6cd271b04d0e8d480c5633edf148ed1ac Mon Sep 17 00:00:00 2001 From: thetek Date: Sat, 8 May 2021 18:08:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20change=20api=20url=20fo?= =?UTF-8?q?r=20code=20refactor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/raw/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/raw/index.js b/ui/raw/index.js index f5fbf09..88bdefd 100644 --- a/ui/raw/index.js +++ b/ui/raw/index.js @@ -20,7 +20,7 @@ function dnswatch_search() { // send api request var request = new XMLHttpRequest(); - request.open('POST', 'https://dns-watch.org/search', true); + request.open('POST', 'https://dns-watch.org/lookup', true); request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); request.onload = function() {