|
|
2ca01d2b3a
|
fix: admin login, clean URLs, blog links
- Fix admin login: ID mismatch (loginUser->loginUsername, loginPass->loginPassword)
- Fix auth URL: /api/auth -> /api/auth/login
- Fix init() structure: broken if/else for checkAuth
- Remove onclick from login button (JS handles via addEventListener)
- Clean URLs: /blog/post/slug instead of post.html?slug=slug
- Updated blog.js, post.js, main.js with clean URL links
- post.js supports both /blog/post/slug and ?slug=x formats
- nginx configured for /blog/post/* rewrite
|
2026-03-31 22:55:45 +00:00 |
|