This commit is contained in:
Aevann1 2021-09-15 02:53:45 +02:00
parent a9c7d348fe
commit 8b5ecbb2b7
4 changed files with 9 additions and 69 deletions

View file

@ -801,8 +801,7 @@ def submit_post(v):
), 403
if file.content_type.startswith('image/'):
if 'pcmemes.net' in request.host: new_post.url = upload_ibb(file=file)
else: new_post.url = upload_imgur(file=file)
new_post.url = upload_ibb(file=file)
else:
try:
post_url = upload_video(file)