Skip to content

Commit

Permalink
fix pages router not generating due to hardcoded path (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazakrisz authored Mar 23, 2024
1 parent a5b0208 commit b48f995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-rest-framework/src/cli/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const findConfig = async ({ configPath }: { configPath?: string }) => {
const filePathToRoute = join(
process.cwd(),
NEXT_REST_FRAMEWORK_TEMP_FOLDER_NAME,
'pages/api',
path,
route
);

Expand Down

0 comments on commit b48f995

Please sign in to comment.