Skip to content

Commit

Permalink
further startup fixes
Browse files Browse the repository at this point in the history
jens-maus committed Dec 4, 2024
1 parent 0324b0d commit 8793698
Showing 3 changed files with 5 additions and 10 deletions.
9 changes: 2 additions & 7 deletions home-assistant-addon-proxy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
# ChangeLog

## 0.4.2
- minor fixes

## 0.4.1
- minor fixes

## 0.4.0
## 0.4.3
- add healthcheck for better addon watchdog support
- add debug output when starting ha-proxy.
- minor fixes

## 0.3.0
- initial release
2 changes: 1 addition & 1 deletion home-assistant-addon-proxy/config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: RaspberryMatic CCU (Proxy)
version: 0.4.2
version: 0.4.3
slug: raspberrymatic_proxy
image: ghcr.io/jens-maus/raspberrymatic-proxy
arch:
4 changes: 2 additions & 2 deletions home-assistant-addon-proxy/ha-proxy.js.gtpl
Original file line number Diff line number Diff line change
@@ -90,10 +90,10 @@ app.use((req, res, next) => {
}, apiProxy);

// listen on port 8099
app.listen(8099, (err) =>
app.listen(8099, (err) => {
if(err) {
console.error(`ERROR: could not start ha-proxy: ${err}`);
} else {
console.log('Serving proxy requests for ' + '{{ index . "webui-url" }}' + ' on port 8099.');
}
);
});

0 comments on commit 8793698

Please sign in to comment.