diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-04-19 20:02:39 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 20:02:39 -0600 |
commit | 9425dce6dbc3a10bbde963d7a6192884c47185a5 (patch) | |
tree | 0dd4aeaf3dc3e5403095a5e37750a09adb3599a8 /ext/http/lib.rs | |
parent | 79e6751cf753612f99438ee2f158f54a1bf44815 (diff) |
refactor(ext/http): extract 02_websocket.ts from 01_http.js (#23460)
Landing part of https://github.com/denoland/deno/pull/21903
This will allow us to more easily refactor `serveHttp` to live on top of
`serve` by splitting the websocket code out. There's probably a lot more
we could do here but this helps.
Diffstat (limited to 'ext/http/lib.rs')
-rw-r--r-- | ext/http/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http/lib.rs b/ext/http/lib.rs index df31b9c44..6fc7207be 100644 --- a/ext/http/lib.rs +++ b/ext/http/lib.rs @@ -131,7 +131,7 @@ deno_core::extension!( http_next::op_http_close, http_next::op_http_cancel, ], - esm = ["00_serve.js", "01_http.js"], + esm = ["00_serve.js", "01_http.js", "02_websocket.ts"], ); pub enum HttpSocketAddr { |