Skip to content

Commit 9c54ee1

Browse files
brkalowclaude
andcommitted
refactor: Move Next.js proxy module into server directory
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7752813 commit 9c54ee1

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

packages/nextjs/src/server/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ export { reverificationErrorResponse, reverificationError } from '@clerk/backend
8181
export {
8282
clerkFrontendApiProxy,
8383
createFrontendApiProxyHandlers,
84+
DEFAULT_PROXY_PATH,
8485
type FrontendApiProxyHandlers,
86+
type FrontendApiProxyOptions,
8587
type NextFrontendApiProxyOptions,
86-
} from '../proxy';
87-
export { DEFAULT_PROXY_PATH, type FrontendApiProxyOptions } from '@clerk/backend/proxy';
88+
} from './proxy';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
type FrontendApiProxyOptions,
55
} from '@clerk/backend/proxy';
66

7-
import { PUBLISHABLE_KEY, SECRET_KEY } from './server/constants';
7+
import { PUBLISHABLE_KEY, SECRET_KEY } from './constants';
88

99
export { DEFAULT_PROXY_PATH, type FrontendApiProxyOptions } from '@clerk/backend/proxy';
1010

0 commit comments

Comments
 (0)