fd
This commit is contained in:
parent
a9c7d348fe
commit
8b5ecbb2b7
4 changed files with 9 additions and 69 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue