nextjs-notion-starter-kit icon indicating copy to clipboard operation
nextjs-notion-starter-kit copied to clipboard

Any method to bye-pass CanonicalPageID error?

Open PersistVenture opened this issue 3 years ago • 4 comments

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 avatar Aug 13 '22 05:08 PersistVenture

@PersistVenture did you find the solution to it?

marharyta avatar Jan 10 '23 20:01 marharyta

use includeNotionIdInUrls: true in the site.config.ts to bypass the issue.

woensug-choi avatar Apr 19 '23 06:04 woensug-choi