From 48fc2b826bf5777716dac8b7477f853d372ceb9a Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Wed, 4 Dec 2024 11:12:16 -0800 Subject: [PATCH] Updated tzdata default path to use the specified 'extras' path --- config/runtime.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/runtime.exs b/config/runtime.exs index 53253b6..afce572 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -64,7 +64,7 @@ if config_env() == :prod do extras_path = System.get_env("EXTRAS_PATH", Path.join([config_path, "extras"])) tmpfile_path = System.get_env("TMPFILE_PATH", Path.join([System.tmp_dir!(), "pinchflat", "data"])) # This one can be changed if you want - tz_data_path = System.get_env("TZ_DATA_PATH", "/config/extras/elixir_tz_data") + tz_data_path = System.get_env("TZ_DATA_PATH", Path.join([extras_path, "elixir_tz_data"])) # For running PF as a podcast host on self-hosted environments expose_feed_endpoints = String.length(System.get_env("EXPOSE_FEED_ENDPOINTS", "")) > 0 # For testing alternate journal modes (see issue #137)