| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2954,7 +2954,6 @@ Object.defineProperty(connect, promisify.custom, { | |||
| 2954 | 2954 | }); | |
| 2955 | 2955 | ||
| 2956 | 2956 | function createSecureServer(options, handler) { | |
| 2957 | - assertIsObject(options, 'options'); | ||
| 2958 | 2957 | return new Http2SecureServer(options, handler); | |
| 2959 | 2958 | } | |
| 2960 | 2959 | ||
@@ -2963,7 +2962,6 @@ function createServer(options, handler) { | |||
| 2963 | 2962 | handler = options; | |
| 2964 | 2963 | options = {}; | |
| 2965 | 2964 | } | |
| 2966 | - assertIsObject(options, 'options'); | ||
| 2967 | 2965 | return new Http2Server(options, handler); | |
| 2968 | 2966 | } | |
| 2969 | 2967 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments