| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2932,7 +2932,6 @@ Object.defineProperty(connect, promisify.custom, { | |||
| 2932 | 2932 | }); | |
| 2933 | 2933 | ||
| 2934 | 2934 | function createSecureServer(options, handler) { | |
| 2935 | - assertIsObject(options, 'options'); | ||
| 2936 | 2935 | return new Http2SecureServer(options, handler); | |
| 2937 | 2936 | } | |
| 2938 | 2937 | ||
@@ -2941,7 +2940,6 @@ function createServer(options, handler) { | |||
| 2941 | 2940 | handler = options; | |
| 2942 | 2941 | options = {}; | |
| 2943 | 2942 | } | |
| 2944 | - assertIsObject(options, 'options'); | ||
| 2945 | 2943 | return new Http2Server(options, handler); | |
| 2946 | 2944 | } | |
| 2947 | 2945 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments