изменены ссылки для публикации на виртуалке 192.168.0.219

This commit is contained in:
Georgy Shive 2025-03-18 19:55:40 +07:00
parent 410230a945
commit 1c3b7388c5
3 changed files with 3 additions and 3 deletions

View File

@ -12783,7 +12783,7 @@
},
"_enabled": true,
"__prefab": null,
"apiUrl": "http://localhost:3030/api/v2/sensors",
"apiUrl": "http://192.168.0.219:3030/api/v2/sensors",
"_id": "fd9cjGJCJCmbVairIJtwxV"
},
{

View File

@ -8,7 +8,7 @@ export class EquipmentManager extends Component {
public static instance: EquipmentManager;
@property
public apiUrl: string = 'http://localhost:3030/api/v2/sensors';
public apiUrl: string = 'http://192.168.0.219:3030/api/v2/sensors';
private _dataList: apiSensors[] = [];
public totalCount: number = 0;

View File

@ -30,7 +30,7 @@ export class ErrorsStore {
// Асинхронный запрос ошибок с API
async fetchApiErrors(): Promise<void> {
try {
const response = await fetch("http://localhost:3030/api/v2/errors");
const response = await fetch("http://192.168.0.219:3030/api/v2/errors");
if (response.ok) {
const errors = await response.json() as ApiErrorsResponse;
this.apiErrors = errors;