feat: add regex
This commit is contained in:
@@ -53,7 +53,7 @@ class Settings(BaseSettings):
|
||||
|
||||
ADMIN_COOKIE_SECURE: bool = False
|
||||
ADMIN_COOKIE_DOMAIN: str | None = '.elcsa.ru'
|
||||
CORS_ALLOW_ORIGIN_REGEX: str = r'https?://([a-z0-9-]+\.)*admin\.elcsa\.ru(:\d+)?$'
|
||||
CORS_ALLOW_ORIGIN_REGEX: str = r'https?://([a-z0-9-]+\.)*elcsa\.ru(:\d+)?$'
|
||||
|
||||
DOCS_USERNAME: str = 'admin'
|
||||
DOCS_PASSWORD: str = 'admin'
|
||||
|
||||
Reference in New Issue
Block a user