Skip to content

Commit

Permalink
fix example imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavofabiane committed May 23, 2020
1 parent a0de41c commit 7bbcfd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ A simple router to build APIs with Deno, built on top of the Deno's standard HTT
Use `server()` to initialize and register routes and the 'response' module to generate the response.

```javascript
import { server } from "https://github.com/gustavofabiane/denorouter/server.ts"
import { json } from "https://github.com/gustavofabiane/denorouter/response.ts"
import { server } from "https://raw.githubusercontent.com/gustavofabiane/denorouter/master/server.ts"
import { json } from "https://raw.githubusercontent.com/gustavofabiane/denorouter/master/response.ts"

const app = server()
app.get("/hello/:name", (req, { name }) => json({
Expand Down

0 comments on commit 7bbcfd8

Please sign in to comment.