Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add env

Kiran Kd7fe93880c88
diff --git a/apps/web/.env.example b/apps/web/.env.example
index 0a7da75672..4ee8f6958b 100644
--- a/apps/web/.env.example
+++ b/apps/web/.env.example
@@ -128,4 +128,9 @@ SLACK_CLIENT_SECRET=
SLACK_SIGNING_SECRET=
# Dynadot API key for domain registration
-DYNADOT_API_KEY=
\ No newline at end of file
+DYNADOT_API_KEY=
+
+# Dots for Partner Payouts
+DOTS_CLIENT_ID=
+DOTS_API_KEY=
+DOTS_API_URL=
\ No newline at end of file
diff --git a/apps/web/lib/dots/env.ts b/apps/web/lib/dots/env.ts
new file mode 100644
index 0000000000..fd4be06014
--- /dev/null
+++ b/apps/web/lib/dots/env.ts
@@ -0,0 +1,6 @@
+export const DOTS_CLIENT_ID = process.env.DOTS_CLIENT_ID || "";
+
+export const DOTS_API_KEY = process.env.DOTS_API_KEY || "";
+
+export const DOTS_API_URL =
+ process.env.DOTS_API_URL || "https://api.dots.dev/api/v2";