Refactor error handling in middleware and clean up template struct comments

- Adjust error handling in the middleware to ensure proper redirection for HTTP status codes 301 and 302.
- Clean up comments in the Template struct for better readability and consistency.
This commit is contained in:
Max 2026-02-15 17:56:54 +08:00
parent 621290d578
commit c7cdfbdfe6
2 changed files with 6 additions and 6 deletions