mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 03:56:21 +00:00
Merge branch 'preview' into panel.sutty.nl
This commit is contained in:
commit
71ff2d3fd3
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ class Site < ApplicationRecord
|
|||
|
||||
# El directorio donde se almacenan los sitios
|
||||
def self.site_path
|
||||
@site_path ||= ENV.fetch('SITE_PATH', Rails.root.join('_sites'))
|
||||
@site_path ||= File.realpath(ENV.fetch('SITE_PATH', Rails.root.join('_sites')))
|
||||
end
|
||||
|
||||
def self.default
|
||||
|
|
Loading…
Reference in a new issue