Compare commits
3 Commits
main
...
release-1.
| Author | SHA1 | Date | |
|---|---|---|---|
| d26049ca26 | |||
| ba432c387f | |||
| 4041e31c39 |
@ -14257,7 +14257,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"apiUrl": "http://localhost:3030/api/v2/sensors",
|
||||
"apiUrl": "http://192.168.0.219:3030/api/v2/sensors",
|
||||
"_id": "fd9cjGJCJCmbVairIJtwxV"
|
||||
},
|
||||
{
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -30,7 +30,7 @@ export class SensorDetailStore extends Component {
|
||||
this.currentSensorName = sensorName;
|
||||
|
||||
try {
|
||||
const response = await fetch("http://localhost:3030/api/v2/sensor-details", {
|
||||
const response = await fetch("http://192.168.0.219:3030/api/v2/sensor-details", {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ sensorName: sensorName })
|
||||
|
||||
@ -1,9 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "fd645b06-0a2b-44e9-8721-9e8590e81e15",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user