Added a configurable path leading to screenshots.
Screenshots/thumbnails should be delivered statically from a front-end web server. This introduces the "images_path_prefix" configuration variable that makes the URL path configurable that is used to load screenshots.
This commit is contained in:
parent
c1de334c57
commit
76164dd79d
1 changed files with 3 additions and 0 deletions
|
|
@ -26,4 +26,7 @@ Debshots::Application.configure do
|
|||
# This option may cause significant delays in view rendering with a large
|
||||
# number of complex assets.
|
||||
config.assets.debug = true
|
||||
|
||||
# URL prefix leading to the static images that should get delivered by the web server
|
||||
config.images_path_prefix = '/screenshots'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue