-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pixel.gif server: unbreak for node.js <= 8.x
Pull #9 added support for serving via https. Great! It also broke support for node 8.x and below (both 8 and 6 are LTS). In v10, http.createServer() got an optional first argument of an options object. Previous versions don't support that optional first arg and thus ignore the second arg. This leaves them with no function to handle requests and thus they stall all requests forever.
- Loading branch information
1 parent
c5a32f5
commit 09bddcb
Showing
3 changed files
with
42 additions
and
39 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters