mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-19 09:36:47 +10:00
Use a /raw/ request to show an image
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
.file-content.image_file
|
||||
%img{ src: "data:#{blob.mime_type};base64,#{Base64.encode64(blob.data)}"}
|
||||
%img{ src: namespace_project_raw_path(@project.namespace, @project, @id)}
|
||||
|
||||
Reference in New Issue
Block a user