fix(admin): restore post publishing endpoint path
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
- Set `INDIEKIT_ADMIN_URL` to the public admin base URL, including trailing slash (example: `https://blog.giersig.eu/admin/`).
|
- 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`.
|
- Login uses `PASSWORD_SECRET` (bcrypt hash), not `INDIEKIT_PASSWORD`.
|
||||||
- If no `PASSWORD_SECRET` exists yet, open `/admin/auth/new-password` once to generate it.
|
- 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
|
## MongoDB
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -105,7 +105,7 @@ export default {
|
|||||||
token: githubContentToken,
|
token: githubContentToken,
|
||||||
},
|
},
|
||||||
"@indiekit/endpoint-posts": {
|
"@indiekit/endpoint-posts": {
|
||||||
mountPath: "/blog",
|
mountPath: "/posts",
|
||||||
},
|
},
|
||||||
"@rmdes/indiekit-endpoint-github": {
|
"@rmdes/indiekit-endpoint-github": {
|
||||||
token: githubActivityToken,
|
token: githubActivityToken,
|
||||||
|
|||||||
Reference in New Issue
Block a user