giants-maps-api/app/main.py

12 lines
341 B
Python
Raw Normal View History

from fastapi import FastAPI
from app.routers import maps
2021-12-22 15:56:35 +01:00
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")