From 2e564fce29de34c19129d98b822a183465f9d73b Mon Sep 17 00:00:00 2001 From: Dmitry Sannikov Date: Thu, 9 Mar 2023 13:56:30 +0100 Subject: [PATCH] Update for latest Deno --- README.md | 6 +++--- main.ts | 7 ++----- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 17e8ecc..78c1a01 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A simple web application using Deno and Dinatra to respond to a request. To be used as part of the Fly tutorials on how to deploy Deno applications to Fly's global application platform. -* Run flyctl launch -* Run flyctl deploy -* Run flyctl open to browse your new app +* Run `flyctl launch` +* Run `flyctl deploy` +* Run `flyctl open` to browse your new app diff --git a/main.ts b/main.ts index 95d9f9a..364eddf 100644 --- a/main.ts +++ b/main.ts @@ -1,10 +1,7 @@ import { app, - get, - post, - redirect, - contentType, -} from "https://denopkg.com/syumai/dinatra/mod.ts"; + get +} from "https://denopkg.com/syumai/dinatra@master/mod.ts"; const greeting = "

Hello From Deno on Fly!

";