develop - for server
This commit is contained in:
parent
144e1d8ef4
commit
dccade80fd
|
|
@ -559,7 +559,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Конфигурация
|
// Конфигурация
|
||||||
const API_URL = 'https://bone.rell.ru:8026/api/v1/analyze';
|
const API_URL = 'https://bone.rell.ru/api/v1/analyze';
|
||||||
|
|
||||||
// DOM элементы
|
// DOM элементы
|
||||||
const uploadArea = document.getElementById('uploadArea');
|
const uploadArea = document.getElementById('uploadArea');
|
||||||
|
|
@ -856,7 +856,7 @@
|
||||||
// Health check
|
// Health check
|
||||||
async function checkHealth() {
|
async function checkHealth() {
|
||||||
try {
|
try {
|
||||||
const response = await fetch('https://bone.rell.ru:8026/api/v1/health');
|
const response = await fetch('https://bone.rell.ru/api/v1/health');
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
console.log('✅ API сервер работает');
|
console.log('✅ API сервер работает');
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue