fix(config): fix setting path for Mobilizon.Service.SiteMap
System.get_env/2 makes no sense at compile time Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
28063bd1d9
commit
7d725bd942
|
@ -392,8 +392,7 @@ config :mobilizon, Mobilizon.Service.GlobalSearch.SearchMobilizon,
|
||||||
|
|
||||||
config :mobilizon, Mobilizon.Service.AntiSpam, service: Mobilizon.Service.AntiSpam.Akismet
|
config :mobilizon, Mobilizon.Service.AntiSpam, service: Mobilizon.Service.AntiSpam.Akismet
|
||||||
|
|
||||||
config :mobilizon, Mobilizon.Service.SiteMap,
|
config :mobilizon, Mobilizon.Service.SiteMap, path: "/var/lib/mobilizon/sitemap"
|
||||||
path: System.get_env("MOBILIZON_SITEMAP_PATH", "/var/lib/mobilizon/sitemap")
|
|
||||||
|
|
||||||
# Import environment specific config. This must remain at the bottom
|
# Import environment specific config. This must remain at the bottom
|
||||||
# of this file so it overrides the configuration defined above.
|
# of this file so it overrides the configuration defined above.
|
||||||
|
|
Loading…
Reference in a new issue