mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 15:06:59 +00:00
* Add dynamic API endpoints * Add missing dependency * Update api handlers * Updates * Fix build errors * Update package.json * Add checkout endpoint parser & update errors * Update tsconfig.json * Update cart.ts * Update parser * Update errors.ts * Update errors.ts * Move to Edge runtime * Revert to local * Fix switchable runtimes * Make nodejs default runtime * Update pnpm-lock.yaml * Update handlers * Fix build errors * Change headers
9 lines
194 B
TypeScript
9 lines
194 B
TypeScript
import commerce from '@lib/api/commerce'
|
|
import endpoints from '@framework/api/endpoints'
|
|
|
|
// export const config = {
|
|
// runtime: 'experimental-edge',
|
|
// }
|
|
|
|
export default endpoints(commerce)
|