-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84bcc08
commit 202ea14
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ function powered by [Deno](https://deno.land), running on | |
Create a file called `api/hello.ts` with the following contents: | ||
|
||
```typescript | ||
import { ServerRequest } from 'https://deno.land/std@0.67.0/http/server.ts'; | ||
import { ServerRequest } from 'https://deno.land/std@0.70.0/http/server.ts'; | ||
|
||
export default async (req: ServerRequest) => { | ||
req.respond({ body: `Hello, from Deno v${Deno.version.deno}!` }); | ||
|
@@ -22,7 +22,7 @@ Next, define the **vercel-deno** runtime within the "functions" object in your | |
```json | ||
{ | ||
"functions": { | ||
"api/**/*.[jt]s": { "runtime": "[email protected].0" } | ||
"api/**/*.[jt]s": { "runtime": "[email protected].1" } | ||
} | ||
} | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
202ea14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: