sprint/FileStorage/routes.py
2021-11-11 11:47:06 +03:00

10 lines
284 B
Python

from aiohttp import web
from FileStorage.views import get_file, upload_file, delete_file
def setup_routes(app: web.Application):
app.router.add_get("/get_file", get_file)
app.router.add_post("/upload_file", upload_file)
app.router.add_post("/delete_file", delete_file)