giants-maps-api/app/main.py
Hipstercat 7b74f1240f
All checks were successful
continuous-integration/drone/push Build is passing
dropped db, works with plain file structure now
Signed-off-by: Hipstercat <tasty@hipstercat.fr>
2021-12-22 23:25:46 +01:00

12 lines
341 B
Python

from fastapi import FastAPI
from app.routers import maps
from fastapi.staticfiles import StaticFiles
app = FastAPI(
title="Giants: Citizen Kabuto map API",
description="API to upload and download maps for Giants: Citizen Kabuto",
)
app.include_router(maps.router)
app.mount("/blobs", StaticFiles(directory="blobs"), name="static")