Move .env.example to the right place, fix login to also be at /api/v1

This commit is contained in:
2026-06-24 15:37:32 +02:00
parent 62bbbec1d3
commit 5f0e5b1bbb
2 changed files with 2 additions and 2 deletions

View File

@@ -19,9 +19,9 @@ SECRET_KEY = os.getenv("SECRET_KEY")
ALGORITHM = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES = 120
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/api/v1/token")
token_router = APIRouter(tags=["Token"])
token_router = APIRouter(tags=["Token"], prefix="/api/v1")
password_hash = PasswordHash.recommended()