Add 10.0.0.127:5173 to CORS allowed origins
This commit is contained in:
@@ -18,7 +18,7 @@ class Settings(BaseSettings):
|
|||||||
ACCESS_TOKEN_EXPIRE_MINUTES: int = 30
|
ACCESS_TOKEN_EXPIRE_MINUTES: int = 30
|
||||||
|
|
||||||
# CORS - accepts either comma-separated string or JSON array
|
# CORS - accepts either comma-separated string or JSON array
|
||||||
ALLOWED_ORIGINS: str = "http://localhost:5173,http://localhost:3000"
|
ALLOWED_ORIGINS: str = "http://localhost:5173,http://localhost:3000,http://10.0.0.127:5173"
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
env_file = ".env"
|
env_file = ".env"
|
||||||
|
|||||||
Reference in New Issue
Block a user