Skip to content

Commit

Permalink
feat: issue 49 example
Browse files Browse the repository at this point in the history
  • Loading branch information
eliassjogreen committed Oct 14, 2020
1 parent 417c939 commit f6fb3da
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/issue_49/denon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://deno.land/x/denon/schema.json",
"scripts": {
"start": {
"cmd": "deno run -A ./main.ts"
}
},
"logger": {
"debug": true
}
}
9 changes: 9 additions & 0 deletions examples/issue_49/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Application } from "https://deno.land/x/oak/mod.ts";

const app = new Application();

app.use((ctx) => {
ctx.response.body = "Hello World!";
});

await app.listen({ port: 8080 });

0 comments on commit f6fb3da

Please sign in to comment.