We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5000f5 commit fed3b63Copy full SHA for fed3b63
docs/api/framework-conventions/server-modules.md
@@ -11,7 +11,7 @@ title: .server modules
11
Server-only modules that are excluded from client bundles and only run on the server.
12
13
```ts filename=auth.server.ts
14
-// This would expose secrets on the client
+// This would expose secrets on the client if not exported from a server-only module
15
export const JWT_SECRET = process.env.JWT_SECRET;
16
17
export function validateToken(token: string) {
0 commit comments