Update for Swagger URL
This commit is contained in:
parent
421eea19ac
commit
889db717d1
@ -27,7 +27,7 @@ logging.basicConfig(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# 2024, 2018
|
# 2024, 2018
|
||||||
ranked_cardsets = [17, 18, 13, 14]
|
ranked_cardsets = [17, 18, 19, 13, 14]
|
||||||
LIVE_CARDSET_ID = 17
|
LIVE_CARDSET_ID = 17
|
||||||
LIVE_PROMO_CARDSET_ID = 18
|
LIVE_PROMO_CARDSET_ID = 18
|
||||||
CARDSETS = {
|
CARDSETS = {
|
||||||
|
|||||||
@ -10,7 +10,9 @@ from .routers_v2 import (
|
|||||||
battingcardratings, pitchingcards, pitchingcardratings, cardpositions, scouting, mlbplayers, stratgame, stratplays)
|
battingcardratings, pitchingcards, pitchingcardratings, cardpositions, scouting, mlbplayers, stratgame, stratplays)
|
||||||
|
|
||||||
app = FastAPI(
|
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")
|
# app.mount("/static", StaticFiles(directory="storage/static"), name="static")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user