[PR #599] [MERGED] Add Cors headers #2759

Closed
opened 2026-03-03 08:52:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/599
Author: @vplme
Created: 9/2/2019
Status: Merged
Merged: 9/3/2019
Merged by: @dani-garcia

Base: masterHead: cors


📝 Commits (2)

  • 16d8840 Initial version of CORS support
  • 5a2f968 Set correct response headers, status code

📊 Changes

2 files changed (+49 additions, -1 deletions)

View changed files

📝 src/main.rs (+2 -1)
📝 src/util.rs (+47 -0)

📄 Description

Added a Fairing to send Cors headers back for preflight requests.

Fixes #595


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/599 **Author:** [@vplme](https://github.com/vplme) **Created:** 9/2/2019 **Status:** ✅ Merged **Merged:** 9/3/2019 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `master` ← **Head:** `cors` --- ### 📝 Commits (2) - [`16d8840`](https://github.com/dani-garcia/vaultwarden/commit/16d88402cbeb51d376d14c9d32e2bc00d00e4cb2) Initial version of CORS support - [`5a2f968`](https://github.com/dani-garcia/vaultwarden/commit/5a2f968d7a868fcfed2c67055ada88dd7a8db06b) Set correct response headers, status code ### 📊 Changes **2 files changed** (+49 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/main.rs` (+2 -1) 📝 `src/util.rs` (+47 -0) </details> ### 📄 Description Added a Fairing to send Cors headers back for preflight requests. Fixes #595 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 08:52:56 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#2759
No description provided.