fix(admin): restore post publishing endpoint path

This commit is contained in:
svemagie
2026-03-08 00:33:14 +01:00
parent 3c644b506e
commit 9427dedaa9
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -6,6 +6,8 @@
- Set `INDIEKIT_ADMIN_URL` to the public admin base URL, including trailing slash (example: `https://blog.giersig.eu/admin/`).
- Login uses `PASSWORD_SECRET` (bcrypt hash), not `INDIEKIT_PASSWORD`.
- If no `PASSWORD_SECRET` exists yet, open `/admin/auth/new-password` once to generate it.
- Post management UI should use `/posts` (`@indiekit/endpoint-posts.mountPath`).
- Do not set post-management `mountPath` to frontend routes like `/blog`, otherwise backend publishing can be shadowed by the public site.
## MongoDB
+1 -1
View File
@@ -105,7 +105,7 @@ export default {
token: githubContentToken,
},
"@indiekit/endpoint-posts": {
mountPath: "/blog",
mountPath: "/posts",
},
"@rmdes/indiekit-endpoint-github": {
token: githubActivityToken,