From 9119a77ef2323e303971c34f8910f1bd4ad489b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20K=C3=BCnzel?= <simonk@fsmpi.rwth-aachen.de>
Date: Fri, 14 Jun 2024 23:53:16 +0200
Subject: [PATCH] Add missing cors header to example config

---
 config/uwsgi_example.ini | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/uwsgi_example.ini b/config/uwsgi_example.ini
index 3ba12c1..732d99e 100644
--- a/config/uwsgi_example.ini
+++ b/config/uwsgi_example.ini
@@ -9,6 +9,7 @@ http = 0.0.0.0:5000
 add-header = Access-Control-Allow-Origin: http://localhost:3000
 add-header = Access-Control-Allow-Credentials: true
 add-header = Access-Control-Allow-Headers: Cookie, Content-Type, X-Csrf-Token
+add-header = Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH
 
 manage-script-name = true
 chdir = ./src/
-- 
GitLab