fd
This commit is contained in:
parent
534478f111
commit
ebd1521f41
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ def settings_images_profile(v):
|
||||||
if request.headers.get("cf-ipcountry") == "T1": return "Image uploads are not allowed through TOR.", 403
|
if request.headers.get("cf-ipcountry") == "T1": return "Image uploads are not allowed through TOR.", 403
|
||||||
|
|
||||||
file = request.files["profile"]
|
file = request.files["profile"]
|
||||||
filepath = f"image.webp"
|
filepath = "image.webp"
|
||||||
file.save(filepath)
|
file.save(filepath)
|
||||||
|
|
||||||
if 'pcmemes.net' in request.host: highres = upload_ibb()
|
if 'pcmemes.net' in request.host: highres = upload_ibb()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue