Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any method to bye-pass CanonicalPageID error? #361

Open
PersistVenture opened this issue Aug 13, 2022 · 3 comments
Open

Any method to bye-pass CanonicalPageID error? #361

PersistVenture opened this issue Aug 13, 2022 · 3 comments

Comments

@PersistVenture
Copy link

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.

@marharyta
Copy link

@PersistVenture did you find the solution to it?

@woensug-choi
Copy link

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

@Xboyle
Copy link

Xboyle commented Jan 4, 2025

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

Not working :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants