Open f33w opened 5 months ago
same issue nextjs @emmatown
same issue nextjs @emmatown
and @jossmac
I have the same issue on a NextJS site. If I click "Add" on a collection page in the Keystatic UI, I get a 404 Page not found. If I change my Next config to trailingSlash: false
, then the page loads and I can add new posts. Further evidence is that if I navigate to a collection item and click "duplicate," the page loads fine regardless of the trailingSlash
setting. I think this is because /keystatic/master/collection/blog/create?duplicate=...
never has a trailing slash.
I'm using the GitHub reader. I haven't tested it with the local reader. The behavior I noted earlier happens on all collections, the schemas for which vary (some use fields.markdoc
, some are much simpler, only fields.text
).
Hi there, I've installed Astro through Keystatic CLI, then changed trailingslash configuration to "always", but admin panel still uses no trailing slash path. That shoots errors, 404s every now and then
Astro config
Keystatic config: