Commit 9a272a3
committed
feat(cors): configure CORS with custom options
Replace AllowAll with custom CORS options using values from config.
This enables fine-grained control over allowed origins, headers, and
methods, and ensures credentials are supported. Improves security and
flexibility for HTTP server CORS handling.1 parent c08c8b3 commit 9a272a3
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
0 commit comments