mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: don't use the CDN for attachments when login is required
This commit is contained in:
@@ -96,6 +96,7 @@ Fabricator(:post_with_uploads_and_links, from: :post) do
|
||||
<img src="/uploads/default/1/1234567890123456.jpg">
|
||||
<a href="http://www.google.com">Google</a>
|
||||
<img src="http://foo.bar/image.png">
|
||||
<a class="attachment" href="/uploads/default/original/1X/af2c2618032c679333bebf745e75f9088748d737.txt">text.txt</a> (20 Bytes)
|
||||
'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user