From 7bbcfd8c9b68ce8ea9f953acc6b23f7604168397 Mon Sep 17 00:00:00 2001 From: Gustavo Fabiane Date: Fri, 22 May 2020 21:22:49 -0300 Subject: [PATCH] fix example imports --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 8266998..99412a3 100644 --- a/readme.md +++ b/readme.md @@ -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({