Compare commits

...

2 commits

Author SHA1 Message Date
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
2 changed files with 2 additions and 8 deletions

View file

@ -5,7 +5,7 @@ pipeline:
- npm install
- npm run build:ssr
docker:
image: techknowlogick/drone-docker
image: plugins/docker
secrets:
- DOCKER_USERNAME
- DOCKER_PASSWORD
@ -17,7 +17,7 @@ pipeline:
event:
- push
cr:
image: techknowlogick/drone-docker
image: plugins/docker
secrets:
- source: CR_USERNAME
target: DOCKER_USERNAME

View file

@ -79,12 +79,6 @@ api.post('/update/health', (req, res) => {
return res.status(401).send('invalid token');
}
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 }[] = [];
if (serviceId) {
services = [{id: serviceId, state: JSONPath({path: serviceStatePaths[serviceId], json: req.body, wrap: false})}];