Skip to content

Commit

Permalink
fix: built-in middlewares
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Apr 17, 2024
1 parent 1fb18ba commit f239670
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Server.js
Expand Up @@ -2034,7 +2034,6 @@ class Server {
if (typeof this.options.headers !== "undefined") {
middlewares.push({
name: "set-headers",
path: "*",
middleware: this.setHeaders.bind(this),
});
}
Expand Down Expand Up @@ -2314,7 +2313,6 @@ class Server {
// fallback when no other middleware responses.
middlewares.push({
name: "options-middleware",
path: "*",
/**
* @param {Request} req
* @param {Response} res
Expand Down

0 comments on commit f239670

Please sign in to comment.