Skip to content

Commit

Permalink
Merge pull request #45 from IMAGINARY/devel
Browse files Browse the repository at this point in the history
Release 0.12.1
  • Loading branch information
porst17 authored Oct 8, 2019
2 parents 8ca0c71 + 5dbc4c9 commit b09c0a9
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 152 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Security

## [0.12.1] 2019-10-08

### Added
- `--reload-unresponsive` command line option for auto-reloading web pages that are unresponsive for the given amount of time

### Changed
- upgrade to Electron v6.0.11, Node v12.4.0, Chromium v76.0.3809.146

## [0.12.0] 2019-08-12

### Changed
Expand Down Expand Up @@ -200,7 +208,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[library for sending heartbearts]: https://github.com/hilbert/hilbert-heartbeat

[Unreleased]: https://github.com/IMAGINARY/kiosk-browser/compare/v0.12.0...HEAD
[Unreleased]: https://github.com/IMAGINARY/kiosk-browser/compare/v0.12.1...HEAD
[0.12.1]: https://github.com/IMAGINARY/kiosk-browser/compare/v0.12.0...v0.12.1
[0.12.0]: https://github.com/IMAGINARY/kiosk-browser/compare/v0.11.1...v0.12.0
[0.11.1]: https://github.com/IMAGINARY/kiosk-browser/compare/v0.11.0...v0.11.1
[0.11.0]: https://github.com/IMAGINARY/kiosk-browser/compare/v0.10.0...v0.11.0
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kiosk-browser",
"productName": "kiosk-browser",
"version": "0.12.0",
"version": "0.12.1",
"description": "Hardend Kiosk Web Browser",
"homepage": "https://github.com/IMAGINARY/kiosk-browser",
"repository": {
Expand All @@ -22,21 +22,21 @@
"author": "IMAGINARY gGmbH <[email protected]>",
"license": "Apache-2.0",
"devDependencies": {
"electron": "6.0.1",
"electron": "6.0.11",
"electron-builder": "^21.2.0"
},
"dependencies": {
"electron-settings": "^3.1.4",
"finalhandler": "^1.1.2",
"fs-extra": "^8.0.1",
"hjson": "^3.1.2",
"fs-extra": "^8.1.0",
"hjson": "^3.2.0",
"http": "^0.0.0",
"network": "^0.4.0",
"os": "^0.1.1",
"portfinder": "^1.0.19",
"portfinder": "^1.0.24",
"serve-static": "^1.14.1",
"winston": "^3.2.1",
"yargs": "^13.2.2"
"yargs": "^14.2.0"
},
"scripts": {
"postinstall": "electron-builder install-app-deps",
Expand Down
3 changes: 2 additions & 1 deletion src/js/main/httpServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ function init(wwwRootDir) {

// Create server
server = http.createServer(function onRequest(req, res) {
serve(req, res, finalhandler(req, res))
const errorHandler = err => logger.warn('HTTP %i, %s', err.statusCode, err.message);
serve(req, res, finalhandler(req, res, {onerror: errorHandler}));
});

// Do something about errors
Expand Down
Loading

0 comments on commit b09c0a9

Please sign in to comment.