fix(http): fix check logic to decide whether to set Origin header (#1438)

ref: https://github.com/tauri-apps/plugins-workspace/issues/1389#issuecomment-2150470335
This commit is contained in:
Amr Bashir
2024-06-05 19:57:36 +03:00
committed by GitHub
parent d9fa37ada5
commit da8a7bbe3a
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"http": "patch"
---
Fix `ORIGIN` header containing 2 URLs when `unsafe-headers` feature flag is enabled.