update frontend DNS to use dns.web

This commit is contained in:
Face
2025-09-05 16:22:56 +03:00
parent 09e2af17c4
commit f2fc528f7c
6 changed files with 177 additions and 13 deletions

View File

@@ -74,7 +74,7 @@ end
local function loadDomains()
print('Loading domains...')
local response = fetch('gurt://localhost:8877/auth/domains?page=1&limit=100', {
local response = fetch('gurt://dns.web/auth/domains?page=1&limit=100', {
headers = {
Authorization = 'Bearer ' .. authToken
}
@@ -95,7 +95,7 @@ local function checkAuth()
if authToken then
print('Found auth token, checking validity...')
local response = fetch('gurt://localhost:8877/auth/me', {
local response = fetch('gurt://dns.web/auth/me', {
headers = {
Authorization = 'Bearer ' .. authToken
}