mirror of
https://github.com/wasrusgen/zashita-brandbook.git
synced 2026-06-03 14:24:48 +00:00
prod: switch API_BASE to wasrusgen1.ru (Finnish VPS via Caddy)
Elena now calls https://wasrusgen1.ru/api/* — Finnish VPS, Anthropic not blocked. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
dc13d413f8
commit
b95b5a8180
@ -4483,7 +4483,7 @@ function heroChatReply(key) {
|
||||
}
|
||||
|
||||
/* ── API ── */
|
||||
var API_BASE = 'http://localhost:5001'; // замени на VPS когда задеплоишь
|
||||
var API_BASE = 'https://wasrusgen1.ru'; // Finnish VPS via Caddy
|
||||
var _apiAvailable = null; // null=не проверяли, true/false
|
||||
(function _checkApi(){
|
||||
fetch(API_BASE + '/api/health', {method:'GET'})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user