yao/sui/api
Max 19c2d6b547 Implement dynamic route resolution using rewrite rules
- 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.
2026-02-13 23:44:28 +08:00
..
api.go Enhance API Guards and Documentation 2026-01-04 16:40:23 +08:00
build_test.go Optimize $backend function call 2024-08-04 11:40:15 +08:00
guards.go Enhance API Guards and Documentation 2026-01-04 16:40:23 +08:00
process.go [feat] add SUI template.render process 2024-08-10 16:58:38 +08:00
process_test.go fix sui test cases 2024-07-17 16:44:42 +08:00
render.go feat: Enhance global build context and component handling 2025-04-23 16:08:10 +08:00
render_test.go Improve SUI TemplateRender 2024-08-10 19:34:36 +08:00
request.go Refactor Logging in Request Render Method 2026-01-12 11:02:15 +08:00
request_test.go [feat] SUI support BeforeRender hook for dataset processing, and deprecating the s:set method. 2024-07-25 17:56:40 +08:00
run.go Implement dynamic route resolution using rewrite rules 2026-02-13 23:44:28 +08:00
sui.go Refactor SUI Command Arguments and Enhance Default Template Handling 2026-01-01 10:28:45 +08:00
sui_test.go feat: output warning messages during sui page build 2024-07-09 05:56:29 +08:00