From b35ab73daafda80dc8b233af896940b951f1379a Mon Sep 17 00:00:00 2001 From: 0880 <98263509+0880880@users.noreply.github.com> Date: Sat, 17 Jan 2026 18:13:09 +0330 Subject: [PATCH] add CORS settings --- slow/slow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/slow/slow.py b/slow/slow.py index 0d50ffa..b71856c 100644 --- a/slow/slow.py +++ b/slow/slow.py @@ -79,6 +79,7 @@ class App: 404: _default_404_route, 405: _default_405_route, } + self.CORS = CORS() def _pattern_to_regex(self, temp) -> re.Pattern[str]: re_temp = temp