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

404 error when Previewing Articles #6

Open
VacantFuture opened this issue Apr 20, 2024 · 3 comments
Open

404 error when Previewing Articles #6

VacantFuture opened this issue Apr 20, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@VacantFuture
Copy link
Owner

VacantFuture commented Apr 20, 2024

URL for 404'd article preview shows undefined
http://192.168.0.106:3000/articles/undefined

@VacantFuture VacantFuture self-assigned this Apr 20, 2024
@VacantFuture VacantFuture added the bug Something isn't working label Apr 20, 2024
@VacantFuture
Copy link
Owner Author

slugfield() was missing and import of /field/slug

added but still getting error. slug field is not being outgenerated

@VacantFuture
Copy link
Owner Author

New articles auto generate slug on save draft but still get 404. Url is correct though.

@VacantFuture
Copy link
Owner Author

Need to create route and layout in src/app/payload

Put on hold for a bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant