You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How odd. application.posts should always exist as it’s initiated on start-up, and find() should return an empty array if no items are found. Will investigate.
The posts query needed a database check before calling application.posts. Fix will ship with the next beta. I’m thinking it might be desirable to fallback to data stored in memory if a database isn’t available, but probably best to leave that until after 1.0.
Description of the bug
My instance keeps crashing. Looking at the last thing in the logs it seems like there needs to be an undefined check at the following line.
indiekit/packages/indiekit/lib/controllers/feed.js
Line 5 in 9f7f921
Steps to reproduce
Expected behaviour
Some kind of error response in http, not an application crash.
Environment
https://github.com/aciccarello/ciccarello-indiekit/blob/1f7ef327c42ee45a0ca8aa9a5f7a7a8b852d47ba/package.json#L29-L32
https://github.com/aciccarello/ciccarello-indiekit/blob/1f7ef327c42ee45a0ca8aa9a5f7a7a8b852d47ba/.nvmrc#L1
Self hosted on a local machine
Additional context
No response
The text was updated successfully, but these errors were encountered: