We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2510974 commit c9d40fbCopy full SHA for c9d40fb
.env.example
@@ -1,3 +1,6 @@
1
+# Get your own Dub API key: https://dub.co/docs/api-reference/tokens
2
+DUB_API_KEY=
3
+
4
# GitHub
5
AUTH_GITHUB_ID=
6
AUTH_GITHUB_SECRET=
lib/dub.ts
@@ -4,9 +4,7 @@ import { Link } from "@prisma/client";
import { Dub } from "dub";
import { getUrlWithRef } from "./utils";
7
-export const dub = new Dub({
8
- workspaceId: "ws_clv9jxuxp0006gpq847kwrcwj",
9
-});
+export const dub = new Dub();
10
11
export async function shortenAndCreateLink({
12
url,
0 commit comments