Browse Source

bump project

tripeur 1 year ago
parent
commit
800a2ae363
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/core/config.py
  2. 1 1
      pyproject.toml

+ 1 - 1
app/core/config.py

@@ -42,7 +42,7 @@ class Settings(BaseSettings):
     SECURITY_BCRYPT_ROUNDS: int = 12
     ACCESS_TOKEN_EXPIRE_MINUTES: int = 11520  # 8 days
     REFRESH_TOKEN_EXPIRE_MINUTES: int = 40320  # 28 days
-    BACKEND_CORS_ORIGINS: list[AnyHttpUrl] = []
+    BACKEND_CORS_ORIGINS: list[AnyHttpUrl | Literal["*"]] = []
     ALLOWED_HOSTS: list[str] = ["localhost", "127.0.0.1"]
 
     # PROJECT NAME, VERSION AND DESCRIPTION

+ 1 - 1
pyproject.toml

@@ -2,7 +2,7 @@
 authors = ["clovis jaquin <clovis@jaquin.fr>"]
 description = "FastAPI project API that can parse gsheet planning for brass dans la garonne event and manage creating automatic SMS notification for volunteer"
 name = "bdlg-2023"
-version = "0.1.3-alpha"
+version = "0.2.0-alpha"
 
 [tool.poetry.dependencies]
 fastapi = "^0.89.1"