mirror of
https://github.com/wasrusgen/zashita-brandbook.git
synced 2026-06-03 19:04:48 +00:00
feat: migrate to wasrusgen1.ru/protect - API_BASE updated
This commit is contained in:
parent
6bd71a906f
commit
08d340b4d0
@ -5958,7 +5958,7 @@ function heroChatReply(key) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ── API ── */
|
/* ── API ── */
|
||||||
var API_BASE = 'https://wasrusgen1.ru'; // Finnish VPS via Caddy
|
var API_BASE = 'https://wasrusgen1.ru/protect'; // wasrusgen1.ru/protect → Finnish VPS
|
||||||
var _apiAvailable = null; // null=не проверяли, true/false
|
var _apiAvailable = null; // null=не проверяли, true/false
|
||||||
(function _checkApi(){
|
(function _checkApi(){
|
||||||
fetch(API_BASE + '/api/health', {method:'GET'})
|
fetch(API_BASE + '/api/health', {method:'GET'})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user