This commit is contained in:
Lev 2026-01-21 19:26:42 +03:00
parent b3b4781bed
commit 1cf75c8a29
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
const API_BASE = "https://spectralvpn.ru:8500"; const API_BASE = "https://vpn.spectralvpn.ru:8500";
const getCookie = (name) => { const getCookie = (name) => {
const match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); const match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));

View file

@ -63,7 +63,7 @@ document.addEventListener("DOMContentLoaded", () => {
try { try {
const passwordHash = await sha256(password); const passwordHash = await sha256(password);
const response = await fetch("https://spectralvpn.ru:8500/registration", { const response = await fetch("https://vpn.spectralvpn.ru:8500/registration", {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",