-
Notifications
You must be signed in to change notification settings - Fork 209
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
4cb3ca6
commit 9e0ba32
Showing
6 changed files
with
12 additions
and
28 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
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 |
---|---|---|
|
@@ -72,7 +72,7 @@ request with someone's slash command. | |
} from "https://deno.land/x/[email protected]/mod.ts"; | ||
// TweetNaCl is a cryptography library that we use to verify requests | ||
// from Discord. | ||
import nacl from "https://cdn.skypack.dev/[email protected]?dts"; | ||
import nacl from "https://esm.sh/[email protected]?dts"; | ||
|
||
// For all requests to "/" endpoint, we want to invoke home() handler. | ||
serve({ | ||
|
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 |
---|---|---|
|
@@ -180,9 +180,9 @@ libraries for Firebase under deploy. Currently v9 is in still in beta for | |
Firebase, so we will use v8 in this tutorial: | ||
|
||
```js title="firebase.js" | ||
import firebase from "https://cdn.skypack.dev/[email protected]/app"; | ||
import "https://cdn.skypack.dev/[email protected]/auth"; | ||
import "https://cdn.skypack.dev/[email protected]/firestore"; | ||
import firebase from "https://esm.sh/[email protected]/app"; | ||
import "https://esm.sh/[email protected]/auth"; | ||
import "https://esm.sh/[email protected]/firestore"; | ||
``` | ||
|
||
We are also going to use [oak](https://deno.land/x/oak) as the middleware | ||
|
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
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
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