Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): https servers support #105

Merged
merged 1 commit into from Feb 17, 2019

Conversation

Projects
1 participant
@JozefFlakus
Copy link
Member

commented Feb 17, 2019

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the new behavior?

  • @marblejs/core - createServer - added support for HTTPS servers
const httpsOptions = {
  key: fs.readFileSync('key.pem'),
  cert: fs.readFileSync('/cert.pem'),      
};

createServer({
  httpListener: app,
  options: { httpsOptions },
});

Does this PR introduce a breaking change?

[ ] Yes
[x] No

@JozefFlakus JozefFlakus added this to the 2.0.0-rc.2 milestone Feb 17, 2019

@JozefFlakus JozefFlakus self-assigned this Feb 17, 2019

@JozefFlakus JozefFlakus added this to In progress in @marblejs/next via automation Feb 17, 2019

@codecov

This comment has been minimized.

Copy link

commented Feb 17, 2019

Codecov Report

Merging #105 into next will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@         Coverage Diff         @@
##           next   #105   +/-   ##
===================================
  Coverage   100%   100%           
===================================
  Files        87     87           
  Lines      1027   1029    +2     
  Branches     81     83    +2     
===================================
+ Hits       1027   1029    +2
Impacted Files Coverage Δ
packages/core/src/server/server.factory.ts 100% <100%> (ø) ⬆️
...ackages/core/src/server/server.event.subscriber.ts 100% <100%> (ø) ⬆️

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 6c9dafb...dc94b59. Read the comment docs.

@JozefFlakus JozefFlakus merged commit 45531f5 into next Feb 17, 2019

2 checks passed

Travis CI - Pull Request Build Passed
Details
codecov/patch 100% of diff hit (target 100%)
Details

@marblejs/next automation moved this from In progress to Done Feb 17, 2019

@JozefFlakus JozefFlakus deleted the feat/next/https branch Feb 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.