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

fix(server): avoid http2 experimental warning without http2 option #1555

Merged
merged 1 commit into from Nov 3, 2017

Conversation

hekike
Copy link
Member

@hekike hekike commented Nov 3, 2017

Avoid http2 experimental warning message without http2 option

(node:11390) ExperimentalWarning: The http2 module is an experimental API.

Changes

  • Only load http2 module when http2 option is presented

@hekike hekike requested a review from yunong November 3, 2017 10:06
@hekike hekike force-pushed the fix/http2-experimental-warning branch from 051a93f to e3f988e Compare November 3, 2017 10:07
@hekike hekike merged commit 12da7fd into master Nov 3, 2017
@hekike hekike deleted the fix/http2-experimental-warning branch November 3, 2017 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants