feat: Implement background BGP update proxy endpoint and update documentation; refactor frontend components to utilize new API endpoint
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 19m20s

This commit is contained in:
2025-08-13 00:41:32 +07:00
parent 5b80e5faa4
commit 358bfb04b6
5 changed files with 82 additions and 5 deletions
+1 -1
View File
@@ -430,7 +430,7 @@ function IPRangesManager() {
onOnlineUpdate={() => setWsOpen(true)}
onBackgroundUpdate={async () => {
try {
const res = await fetch('http://77.232.38.173:8080/api/update_bgp/background?api_key=denozord2502', { method: 'POST' });
const res = await fetch('/api/update-bgp/background', { method: 'POST' });
const data = await res.json().catch(() => ({}));
if (!res.ok || data.ok === false) {
throw new Error(data?.message || `HTTP ${res.status}`);