1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

feat(environments): add edge device [EE-4840] (#8246)

* feat(environments): add edge device [EE-4840]

fix [EE-4840]

* fix(home): fix tests
This commit is contained in:
Chaim Lev-Ari 2023-01-10 21:30:49 +02:00 committed by GitHub
parent 6c193a8a45
commit baf9c3db0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 170 additions and 48 deletions

View file

@ -74,7 +74,18 @@ export const handlers = [
}),
rest.get<DefaultRequestBody, PathParams, Partial<PublicSettingsResponse>>(
'/api/settings/public',
(req, res, ctx) => res(ctx.json({}))
(req, res, ctx) =>
res(
ctx.json({
Edge: {
AsyncMode: false,
CheckinInterval: 60,
CommandInterval: 60,
PingInterval: 60,
SnapshotInterval: 60,
},
})
)
),
rest.get<DefaultRequestBody, PathParams, Partial<StatusResponse>>(
'/api/status',