0.1.1 #12
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SquareCows/pages-server!12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "0.1.1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
implement url redirect system. now fully supported and closes #9
- Changed middleware format: each redirect now gets its own middleware instance (Traefik's redirectregex only supports one redirect per middleware) - Added updateRouterMiddlewares() to add redirect middlewares to router chain - Middleware naming: redirects-{domain}-{index} instead of single middleware - Router middleware chain: redirect middlewares first, then pages-server - Updated all tests to match new middleware format - Added fmt import to redirects_test.go This fixes the issue where redirects were stored in Redis but not applied by Traefik because they weren't in the router's middleware chain.