upload images to storage instead of DB and add image high quaiilty view
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from fastapi import FastAPI
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
from app.config import settings
|
||||
from app.routers import auth, maps, items, map_share, websocket
|
||||
from app.routers import auth, maps, items, map_share, websocket, uploads
|
||||
|
||||
# Create FastAPI application
|
||||
app = FastAPI(
|
||||
@@ -25,6 +25,7 @@ app.include_router(maps.router)
|
||||
app.include_router(items.router)
|
||||
app.include_router(map_share.router)
|
||||
app.include_router(websocket.router)
|
||||
app.include_router(uploads.router)
|
||||
|
||||
|
||||
@app.get("/")
|
||||
|
||||
Reference in New Issue
Block a user