mirror of
https://github.com/discourse/discourse.git
synced 2025-08-20 18:52:44 +08:00
removed imgur support
This commit is contained in:
parent
82b5f57e40
commit
8a2d635e62
20 changed files with 1 additions and 144 deletions
|
@ -93,7 +93,7 @@ class CookedPostProcessor
|
|||
# 7. Optimise images should be a seperate site setting.
|
||||
|
||||
# supports only local uploads
|
||||
return src if SiteSetting.enable_imgur? || SiteSetting.enable_s3_uploads?
|
||||
return src if SiteSetting.enable_s3_uploads?
|
||||
|
||||
width, height = img["width"].to_i, img["height"].to_i
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue