bruh....blame claude ._. wtf man
All checks were successful
Build and deploy / Build and Push Docker Images (push) Successful in 3m19s
All checks were successful
Build and deploy / Build and Push Docker Images (push) Successful in 3m19s
This commit is contained in:
@@ -10,7 +10,8 @@ from app.models.user import User
|
||||
router = APIRouter(prefix="/api/uploads", tags=["uploads"])
|
||||
|
||||
# Storage directory for uploaded images
|
||||
STORAGE_DIR = Path("/home/shihaam/git/sarlink/mapmaker/storage/images")
|
||||
# Use relative path from project root to work in both dev and production
|
||||
STORAGE_DIR = Path(__file__).resolve().parent.parent.parent / "storage" / "images"
|
||||
STORAGE_DIR.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
# Allowed image types
|
||||
|
||||
Reference in New Issue
Block a user