5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 08:46:21 +00:00

Merge branch 'preview' into panel.sutty.nl

This commit is contained in:
f 2022-04-11 13:37:22 -03:00
commit 71ff2d3fd3

View file

@ -413,7 +413,7 @@ class Site < ApplicationRecord
# El directorio donde se almacenan los sitios # El directorio donde se almacenan los sitios
def self.site_path 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 end
def self.default def self.default