add CORS settings

This commit is contained in:
0880
2026-01-17 18:13:09 +03:30
parent 1e610fbc9d
commit b35ab73daa

View File

@@ -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