Compare commits

...
This repository has been archived on 2023-12-07. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.

21 commits

Author SHA1 Message Date
302b3b627e Merge pull request 'updated .woodpecker.yml' (#182) from develop into main
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #182
2023-07-15 00:47:31 +00:00
18967cf2f8 Merge pull request 'develop' (#181) from develop into main
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #181
2023-07-15 00:37:50 +00:00
1373a8aede reverted "fix"
All checks were successful
continuous-integration/woodpecker the build was successful
2021-11-03 18:09:31 +01:00
d14291e50b Revert "changed docker image"
This reverts commit 51638c66e6.
2021-11-03 18:09:09 +01:00
51638c66e6 changed docker image
Some checks failed
continuous-integration/woodpecker the build failed
2021-10-28 22:50:07 +02:00
8ab0139cb7 Revert "fixed Dockerfile"
This reverts commit 2771288401.
2021-10-28 22:49:36 +02:00
2771288401 fixed Dockerfile
Some checks failed
continuous-integration/woodpecker the build failed
2021-10-28 18:32:08 +02:00
c3b96e18e9 Merge remote-tracking branch 'origin/main' 2021-10-28 18:31:02 +02:00
c2ccbce06a Merge pull request 'fixed Dockerfile' (#155) from develop into main
Some checks failed
continuous-integration/woodpecker the build failed
Reviewed-on: #155
2021-10-28 15:19:55 +00:00
e3df2a3ef6 Merge pull request 'develop' (#154) from develop into main
Some checks failed
continuous-integration/woodpecker the build failed
Reviewed-on: #154
2021-10-28 10:53:21 +00:00
147fbe3eca Merge pull request 'develop' (#152) from develop into main
Some checks failed
continuous-integration/woodpecker the build failed
Reviewed-on: #152
2021-10-27 22:52:24 +00:00
1f810a5d78 Merge branch 'develop' 2021-10-28 00:24:21 +02:00
c63d2f0545 Merge pull request 'develop' (#128) from develop into main
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #128
2021-06-24 16:52:52 +00:00
b797208925 Merge pull request 'updated .drone.yml' (#77) from develop into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #77
2021-01-26 11:28:33 +00:00
a9b3f694b0 Merge pull request 'develop' (#76) from develop into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #76
2021-01-26 11:16:03 +00:00
0c609261d7 Merge pull request 'improved initialization' (#61) from develop into master
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #61
2021-01-10 20:00:03 +00:00
0c79b918a1 Merge pull request 'develop' (#60) from develop into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #60
2021-01-10 18:14:43 +00:00
efea0c7674 Merge pull request 'develop' (#59) from develop into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #59
2021-01-10 16:09:49 +00:00
eed26d5740 Merge pull request 'develop' (#50) from develop into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #50
2020-11-28 23:06:40 +00:00
0508e681ab Merge pull request 'develop' (#49) from develop into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #49
2020-11-27 22:09:16 +00:00
b489d797e6 Merge pull request 'develop' (#36) from develop into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #36
2020-09-17 16:46:11 +00:00

View file

@ -79,12 +79,6 @@ api.post('/update/health', (req, res) => {
return res.status(401).send('invalid token'); return res.status(401).send('invalid token');
} }
const serviceId = req.query.service as string; const serviceId = req.query.service as string;
if (!config.groups
.map(g => g.services).reduce((x, y) => x.concat(y), [])
.map(s => s.id).includes(serviceId)) {
// TODO remove old caches
return res.send('OK');
}
let services: { id: string, state: string }[] = []; let services: { id: string, state: string }[] = [];
if (serviceId) { if (serviceId) {
services = [{id: serviceId, state: JSONPath({path: serviceStatePaths[serviceId], json: req.body, wrap: false})}]; services = [{id: serviceId, state: JSONPath({path: serviceStatePaths[serviceId], json: req.body, wrap: false})}];