Refactor API router and WAF handling to support additional parameters and...
Refactor API router and WAF handling to support additional parameters and improve configuration management This update modifies the SetRouters and SetWafRouter functions to accept new parameters, including a debug flag and a region URL map, enhancing the flexibility of the API routing. Additionally, a new SetApiRouters function is introduced for better organization of API routes. The configuration management has been streamlined by moving configuration imports to the internal package, ensuring a more consistent structure across the application.
Showing
api/waf_proxy.go
0 → 100644
cmd/api-server/app/cmd.go
0 → 100644
cmd/api-server/main.go
0 → 100644
Please register or sign in to comment