Update for Swagger URL

This commit is contained in:
Cal Corum 2024-07-07 22:18:51 -05:00
parent 421eea19ac
commit 889db717d1
2 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,7 @@ logging.basicConfig(
)
# 2024, 2018
ranked_cardsets = [17, 18, 13, 14]
ranked_cardsets = [17, 18, 19, 13, 14]
LIVE_CARDSET_ID = 17
LIVE_PROMO_CARDSET_ID = 18
CARDSETS = {

View File

@ -10,7 +10,9 @@ from .routers_v2 import (
battingcardratings, pitchingcards, pitchingcardratings, cardpositions, scouting, mlbplayers, stratgame, stratplays)
app = FastAPI(
responses={404: {'description': 'Not found'}}
responses={404: {'description': 'Not found'}},
docs_url='/api/docs',
redoc_url='/api/redoc'
)
# app.mount("/static", StaticFiles(directory="storage/static"), name="static")