Skip to content

Commit f55b012

Browse files
committed
renaeme stripe env
1 parent f05f5be commit f55b012

File tree

5 files changed

+3
-57
lines changed

5 files changed

+3
-57
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
## @hypr/web
2-
3-
- `apps/web/.env` is used for `pnpm -F web dev`.
4-
- `task web:env-sample` will modify `apps/web/.env.sample` based on `apps/web/.env`.
5-
- `task web:env-prod` will put `apps/web/.env.prod` to the Cloudflare.
6-
- `task web:supabase-env` will put that to the hosted Supabase.
7-
8-
## @hypr/desktop
9-
10-
TODO
1+
https://hyprnote.com/docs/developers

apps/api/.env.sample

Lines changed: 0 additions & 16 deletions
This file was deleted.

apps/api/src/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const env = createEnv({
1010
SUPABASE_URL: z.url(),
1111
SUPABASE_ANON_KEY: z.string().min(1),
1212
SUPABASE_SERVICE_ROLE_KEY: z.string().min(1),
13-
STRIPE_API_KEY: z.string().min(1),
13+
STRIPE_SECRET_KEY: z.string().min(1),
1414
STRIPE_WEBHOOK_SECRET: z.string().min(1),
1515
OPENROUTER_API_KEY: z.string().min(1),
1616
DEEPGRAM_API_KEY: z.string().min(1),

apps/api/src/stripe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Stripe from "stripe";
33

44
import { env } from "./env";
55

6-
export const stripe = new Stripe(env.STRIPE_API_KEY, {
6+
export const stripe = new Stripe(env.STRIPE_SECRET_KEY, {
77
apiVersion: "2025-10-29.clover",
88
});
99

apps/web/.env.sample

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)