chore(examples): adds optional tenant-based cookie handling by domain in multi-tenant example (#8490)

- Adds optional tenant-based cookie handling based by domain (commented
out to leave functionality out by default)

- Removes 2.0 multi-tenant example

- Updates `examples/multi-tenant-single-domain` -->
`examples/multi-tenant`
This commit is contained in:
Patrik
2024-10-09 14:32:48 -04:00
committed by GitHub
parent 0b2a7a3606
commit 4343b970eb
96 changed files with 7773 additions and 16451 deletions

View File

@@ -0,0 +1,8 @@
import { withPayload } from '@payloadcms/next/withPayload'
/** @type {import('next').NextConfig} */
const nextConfig = {
// Your Next.js config here
}
export default withPayload(nextConfig)