create-payload-app 3.0.0-beta.122 → 3.0.0-beta.124
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,8 @@
|
|
1
1
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
2
2
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
3
3
|
import config from '@payload-config'
|
4
|
-
import { GRAPHQL_POST } from '@payloadcms/next/routes'
|
4
|
+
import { GRAPHQL_POST, REST_OPTIONS } from '@payloadcms/next/routes'
|
5
5
|
|
6
6
|
export const POST = GRAPHQL_POST(config)
|
7
|
+
|
8
|
+
export const OPTIONS = REST_OPTIONS(config)
|