Thinkmill / Thinkmill/keystatic
Refreshing keystatic admin UI results in a Not Found
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 159
- Avg merge
- 21h 41m
- Merged PRs (30d)
- 2
Description
This is a Keystatic setup with NextJS and GitHub.
When loading keystatic at the root /keystatic url, it loads fine - and I can navigate to any resource inside. However, if I referesh the view or navigate directly to a specific resource (for example, a contact page in a "pages" collection /keystatic/branch/main/collection/pages/item/contact) it adds a / to the end of the URL (/keystatic/branch/main/collection/pages/item/contact/) and show the "Not found" page.
I've tried making adjustments on my end - but nothing I do seems to resolve the issue. Any ideas for workarounds or more permanent solutions??
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named. Start by reproducing the /keystatic navigation and refresh behavior in the reported Next.js and GitHub setup, then trace the admin route handling for /keystatic/branch/main/collection/pages/item/contact/. Done means refreshing or directly opening a resource does not produce Not Found or add a failing trailing slash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, nextjs, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100