diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-04-26 14:54:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 14:54:03 +0200 |
commit | 1b450015e7046bff952b2841e73074d432006272 (patch) | |
tree | cc9e5f44ad1c98eae4d3461de478a8b080100060 /ext/http/00_serve.js | |
parent | 036778c2e8e159ef1e586de4102f823367b7c554 (diff) |
BREAKING(unstable): remove "Deno.serve(handler, options)" overload (#18759)
In preparation to stabilization of the API this overload was decided to
be removed.
Diffstat (limited to 'ext/http/00_serve.js')
-rw-r--r-- | ext/http/00_serve.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/http/00_serve.js b/ext/http/00_serve.js index 6e8f846df..1efa4cddb 100644 --- a/ext/http/00_serve.js +++ b/ext/http/00_serve.js @@ -425,7 +425,6 @@ async function serve(arg1, arg2) { let handler = undefined; if (typeof arg1 === "function") { handler = arg1; - options = arg2; } else if (typeof arg2 === "function") { handler = arg2; options = arg1; |