From a3e4d6a49a5be8685654ad34386226bad2a94aae Mon Sep 17 00:00:00 2001 From: Untone Date: Tue, 3 Jun 2025 01:48:23 +0300 Subject: [PATCH] cors-fix --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index c00fe6df..79856af1 100644 --- a/main.py +++ b/main.py @@ -46,10 +46,9 @@ middleware = [ "https://localhost:3000", "https://testing.discours.io", "https://testing3.discours.io", + "https://coretest.discours.io", "https://discours.io", "https://new.discours.io", - "https://discours.ru", - "https://new.discours.ru", ], allow_methods=["GET", "POST", "OPTIONS"], # Явно указываем OPTIONS allow_headers=["*"],