|
@@ -244,7 +244,7 @@ IMAGEDIR = "images/"
|
|
|
@classes.post("/upload/")
|
|
|
async def create_upload_file(file: UploadFile = File(...)):
|
|
|
|
|
|
- file.filename = f"{uuid.uuid4()}.jpeg"
|
|
|
+ #file.filename = f"{uuid.uuid4()}.jpeg"
|
|
|
contents = await file.read()
|
|
|
|
|
|
#save the file
|