Skip to content

Commit fed3b63

Browse files
docs: update server-modules.md
Clarifying a code comment based on [this discussion](#14094 (comment))
1 parent a5000f5 commit fed3b63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/framework-conventions/server-modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: .server modules
1111
Server-only modules that are excluded from client bundles and only run on the server.
1212

1313
```ts filename=auth.server.ts
14-
// This would expose secrets on the client
14+
// This would expose secrets on the client if not exported from a server-only module
1515
export const JWT_SECRET = process.env.JWT_SECRET;
1616

1717
export function validateToken(token: string) {

0 commit comments

Comments
 (0)