nextjs-notion-starter-kit
nextjs-notion-starter-kit copied to clipboard
Any method to bye-pass CanonicalPageID error?
Hi @transitive-bullshit,
is there any method to bye pass below error while deploy to vercel:
if (map[canonicalPageId]) { // you can have multiple pages in different collections that have the same id // TODO: we may want to error if neither entry is a collection page console.warn('error duplicate canonical page id', { canonicalPageId, pageId, existingPageId: map[canonicalPageId] })
Thanks.
@PersistVenture did you find the solution to it?
use includeNotionIdInUrls: true in the site.config.ts to bypass the issue.