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:
WASRUSGEN 2026-05-29 00:33:55 +03:00
parent dc13d413f8
commit b95b5a8180

View File

@ -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'})