lukeed / sirv

An optimized middleware & CLI application for serving static files~!
MIT License
1.07k stars 58 forks source link

sirv-cli HTTP1 backward compatibility #74

Closed ArtskydJ closed 4 years ago

ArtskydJ commented 4 years ago

sirv --http2 [cert/key] servers will now allow HTTP/1 connections. This is to allow https://... requests over HTTP/1.

Supercedes #73.

codecov-commenter commented 4 years ago

Codecov Report

Merging #74 into master will increase coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
+ Coverage   98.48%   98.50%   +0.02%     
==========================================
  Files           2        2              
  Lines          66       67       +1     
==========================================
+ Hits           65       66       +1     
  Misses          1        1              
Impacted Files Coverage Δ
packages/sirv-cli/index.js 98.41% <100.00%> (+0.02%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e7ef3f4...7f170e9. Read the comment docs.