Repository navigation
Commit ebba058
committed
Merge upstream/dev: CORS/preflight fix from AlexxIT (AlexxIT#2168 follow-up)
Merges 812fa91 (fix(api): improve CORS and preflight request handling
— add OPTIONS handling in middleware functions, ensure proper CORS
headers on preflight) into the opensensor dev-rebase tip
(63c58e7 fix: Stream.Stop() closes RTSP source and all consumer
sessions). Clean merge with no source conflicts.
Pulled into the lightNVR build target so users picking up the
go2rtc-override-hardening release also get the upstream CORS fix.2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
227 | 232 | | |
228 | 233 | | |
229 | 234 | | |
| |||
242 | 247 | | |
243 | 248 | | |
244 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
245 | 254 | | |
246 | 255 | | |
247 | 256 | | |
| |||
0 commit comments