Commit 419c844
fix: add CORS allow_headers and allow_methods for cross-origin requests
The CorsLayer only set allow_origin but not allow_headers or
allow_methods, causing preflight failures for content-type header
from roster.battledroids.ru.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent cfad412 commit 419c844
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| |||
0 commit comments