mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-16 21:08:38 +08:00
Update stack.ts
This commit is contained in:
parent
a49c7cec56
commit
3c8c8f3846
@ -1,6 +1,11 @@
|
||||
import { StackServerApp } from '@stackframe/stack';
|
||||
import "server-only";
|
||||
|
||||
// Explicitly configure Stack Auth for docs app
|
||||
export const stackServerApp = new StackServerApp({
|
||||
tokenStore: "nextjs-cookie",
|
||||
projectId: process.env.NEXT_PUBLIC_STACK_PROJECT_ID,
|
||||
publishableClientKey: process.env.NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY,
|
||||
secretServerKey: process.env.STACK_SECRET_SERVER_KEY,
|
||||
baseUrl: process.env.NEXT_PUBLIC_STACK_API_URL,
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user