bug fix with trailing slash v0.0.5

This commit is contained in:
TropiiDev 2025-04-26 22:59:36 -04:00
parent f5267e545e
commit 47afe06c2c

2
api.py
View File

@ -8,7 +8,7 @@ from sql import *
from tables import *
# fastapi init
app = FastAPI(lifespan=lifespan)
app = FastAPI(lifespan=lifespan, redirect_slashes=False)
app.add_middleware(
CORSMiddleware,