Files
indiekit-server/scripts
Sven 53102a03b0
All checks were successful
Deploy Indiekit Server / deploy (push) Successful in 1m15s
fix: fall back to create when updateFile gets 404 from Gitea
Posts that exist in MongoDB but not in Gitea (e.g. due to a previous
failed write) caused HTTP 500 on re-publish: updateFile() tried to read
the file's SHA, got 404, and threw instead of creating. Now detects
Not Found and falls through to a create-style PUT (no sha field).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 16:37:53 +02:00
..
2026-03-20 22:34:59 +01:00