Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Refreshing keystatic admin UI results in a Not Found

Đang mở
#1,461 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
github, nextjs, typescript
Lĩnh vực
frontend, web-dev

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Image

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??

Ngôn ngữ chính
TypeScript
Star
2.5k
Fork
176
Merge trung bình
5 giờ 46 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Thinkmill/keystatic

Tất cả issue của Thinkmill/keystatic

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.