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:
parent
6c193a8a45
commit
baf9c3db0a
10 changed files with 170 additions and 48 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue