AOx0 / adam

Rust eBPF-based toolbox
0 stars 0 forks source link

Simplify CORS Configuration in Main Controller #55

Closed enriquegomeztagle closed 3 weeks ago

enriquegomeztagle commented 4 weeks ago

This pull request simplifies the CORS configuration in the main controller by using the Any parameter for origins, methods, and headers. The changes remove specific origin, method, and header settings and replace them with a more flexible setup using Any. This change reduces code complexity, making the CORS configuration more maintainable and adaptable to various client requests.

Key changes:

This update ensures broader compatibility with different clients while simplifying the code.

AOx0 commented 3 weeks ago

Perfect, thanks