Skip to content

Commit

Permalink
Merge branch 'main' of github.com:irandeno/denzo-cors into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ERFANIUM committed Jul 3, 2021
2 parents ea6a61d + 409a3b2 commit 45c1009
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 45c1009

Please sign in to comment.