Skip to content

OpenStock is an open-source alternative to expensive market platforms. Track real-time prices, set personalized alerts, and explore detailed company insights — built openly, for everyone, forever free.

Update lib/better-auth/auth.ts

Mr. Algorithmec8033df06b2
diff --git a/lib/better-auth/auth.ts b/lib/better-auth/auth.ts
index 7422f19..8ad0f08 100644
--- a/lib/better-auth/auth.ts
+++ b/lib/better-auth/auth.ts
@@ -21,7 +21,7 @@ export const getAuth = async () => {
authInstance = betterAuth({
database: mongodbAdapter(db as any),
- secret: process.env.BETER_AUTH_SECRET,
+ secret: process.env.BETTER_AUTH_SECRET,
baseURL: process.env.BETTER_AUTH_URL,
emailAndPassword: {
enabled: true,