Skip to content

Commit c8d5369

Browse files
committed
1.0.5
- fixes a bug that occurs when trying to send data to https server
1 parent 092880b commit c8d5369

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.0.5 (10/21/2017)
2+
3+
- fixes a bug that occurs when trying to send data to https server
4+
15
# 1.0.4 (10/19/2017)
26

37
- ensures the commitUrl is properly formed on the file view page

bin/lcov-server.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,15 @@ if(serve) {
7676
'Content-Type': 'application/json',
7777
}
7878
};
79+
7980
let req, operation, data = '';
80-
if(parsedUrl.protocol == 'https') {
81+
if(parsedUrl.protocol == 'https:') {
82+
options.port = 443;
8183
operation = https;
8284
} else {
8385
operation = http;
8486
}
87+
8588
req = operation.request(options, (res) => {
8689
res.on('data', (chunk) => {
8790
data += chunk;

dist/bundle.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

+1-1
Large diffs are not rendered by default.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lcov-server",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "🎯 A simple lcov server & cli parser",
55
"main": "index.js",
66
"homepage": "https://github.com/gabrielcsapo/lcov-server#readme",

0 commit comments

Comments
 (0)