mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Remove extra slash for screenshot url
This commit is contained in:
parent
8576d954b0
commit
0b5b07aad4
1 changed files with 1 additions and 1 deletions
|
@ -1453,7 +1453,7 @@ class Site < Sequel::Model
|
|||
|
||||
def screenshot_url(path, resolution)
|
||||
out = ''
|
||||
out = 'https://neocities.org/' if ENV['RACK_ENV'] == 'development'
|
||||
out = 'https://neocities.org' if ENV['RACK_ENV'] == 'development'
|
||||
out+"#{SCREENSHOTS_URL_ROOT}/#{self.class.sharding_dir(values[:username])}/#{values[:username]}/#{path}.#{resolution}.jpg"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue