check latest post from server instead of session #5

Closed
opened 2023-02-27 18:59:11 +11:00 by hughrun · 0 comments
hughrun commented 2023-02-27 18:59:11 +11:00 (Migrated from github.com)

This only checks the session which is not super helpful if a post was published via CLI.
864dc3cf42/server.js (L57)
We should use a variation on getLatestPost to just get the filename minus the suffix, like getLatestPostDate or something.

This only checks the `session` which is not super helpful if a post was published via CLI. https://github.com/hughrun/soyuz-web/blob/864dc3cf42df750bde316f109600c1319f052d98/server.js#L57 We should use a variation on `getLatestPost` to just get the filename minus the suffix, like `getLatestPostDate` or something.
Sign in to join this conversation.
No description provided.