- Introduce a new `RewriteRule` type and associated functions for managing URL rewrite rules in `service/static.go`. - Add `GetRewriteRules` and `ResolveRoute` functions to facilitate the retrieval and application of rewrite rules. - Update the `sui/api/run.go` to utilize the new route resolver for handling dynamic routes when the config file is not found. - Define `RouteResolver` in `sui/core/interfaces.go` to allow for dynamic route resolution across the application. |
||
|---|---|---|
| .. | ||
| fs | ||
| dynamic.go | ||
| dynamic_test.go | ||
| guards.go | ||
| gzip.go | ||
| middleware.go | ||
| service.go | ||
| service_test.go | ||
| static.go | ||
| watch.go | ||
| watch_test.go | ||