fix 2
This commit is contained in:
parent
b3b4781bed
commit
1cf75c8a29
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const API_BASE = "https://spectralvpn.ru:8500";
|
||||
const API_BASE = "https://vpn.spectralvpn.ru:8500";
|
||||
|
||||
const getCookie = (name) => {
|
||||
const match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||
try {
|
||||
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",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue