Skip to content

Commit

Permalink
chore: add note about local route development
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrodMFlesch committed Jan 9, 2024
1 parent c7f5c8f commit 4cc92ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/dev/src/app/(payload)/api/[...slug]/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY it because it could be re-written at any time. */

// export { GET, POST, DELETE, PATCH } from '@payloadcms/next/dist/routes/index'
export { GET, POST, DELETE, PATCH } from '@payloadcms/next/routes/index'
export { GET, POST, DELETE, PATCH } from '@payloadcms/next/dist/routes/index'
// use the next line for easier local development
// export { GET, POST, DELETE, PATCH } from '@payloadcms/next/routes/index'

0 comments on commit 4cc92ac

Please sign in to comment.