Unverified Commit 26b06136 authored by Maciej Hirsz's avatar Maciej Hirsz Committed by GitHub
Browse files

Cross-origin protection (#375)

* Initial implementation

* Comments

* Send a 403 on denied origin

* Noodling around with `set_allowed_origins`

* Error on empty list

* Soketto 0.6

* fmt

* Add `Builder::allow_all_origins`, clarify doc comments

* Rename Cors -> AllowedOrigins, nits, no panic
parent 6c69a8c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment