Skip to content

Commit

Permalink
Remove render example
Browse files Browse the repository at this point in the history
  • Loading branch information
predetermined committed Aug 28, 2021
1 parent 9fbe73d commit 67488e3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,6 @@ by providing custom ones. However, you can still overwrite existing headers.

## More examples

### Respond with the content of a file

```typescript
app.get("/", async (req) => {
return await app.render("index.html");
});
```

_Please note that you must run your application with the `--allow-read` flag._

### Provide own fallback handler

Your provided fallback handler will be executed if no route has been found.
Expand Down

0 comments on commit 67488e3

Please sign in to comment.