Защита

This commit is contained in:
Lev 2026-03-25 20:14:29 +03:00
parent 90d19a8d9a
commit c1e5c32170
2 changed files with 2 additions and 2 deletions

View file

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

View file

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