mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-11-01 09:15:23 +00:00
Initial version of CORS support
This commit is contained in:
1 parent
7dcf18151d
commit
16d88402cb
2 files changed
+37
-1
No files matched your search
+2
-1
@@ -250,7 +250,8 @@ fn launch_rocket() {
|
||||
let rocket = rocket
|
||||
.manage(db::init_pool())
|
||||
.manage(api::start_notification_server())
|
||||
.attach(util::AppHeaders());
|
||||
.attach(util::AppHeaders())
|
||||
.attach(util::CORS());
|
||||
|
||||
// Launch and print error if there is one
|
||||
// The launch will restore the original logging level
|
||||
|
||||
Reference in new issue
Block a user