Skip to content

Commit

Permalink
Update example.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
erfanium authored Jul 3, 2021
1 parent a6759b9 commit 409a3b2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ import { cors } from "./mod.ts";

const app = new Denzo();

app.addHook("onRequest", (request) => {
console.log(request.method, request.url.pathname);
});

app.register(cors, { allowRootHooks: true });

app.route({
Expand Down

0 comments on commit 409a3b2

Please sign in to comment.