summaryrefslogtreecommitdiff
path: root/config/config.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-07-28 17:46:37 +0200
committerlain <lain@soykaf.club>2020-07-28 17:46:37 +0200
commit08732e8a0335ae44c866c2dd63927c65158b27c9 (patch)
tree0d3355c59d294a8f72f8b34269512b2edbdf4bfe /config/config.exs
parentd64c9763906f84c9cb8bcc778c790cfb5b78708b (diff)
downloadpleroma-08732e8a0335ae44c866c2dd63927c65158b27c9.tar.gz
pleroma-08732e8a0335ae44c866c2dd63927c65158b27c9.zip
Docs: Add frontend info to cheat sheet.
Diffstat (limited to 'config/config.exs')
-rw-r--r--config/config.exs9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index acf3b5c96..09dd9e786 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -645,6 +645,15 @@ config :pleroma, Pleroma.Plugs.RemoteIp, enabled: true
config :pleroma, :static_fe, enabled: false
+# Example of frontend configuration
+# This example will make us serve the primary frontend from the
+# `/frontends/pleroma/develop` folder in your instance static directory.
+#
+# With no frontend configuration, the bundled files from the `static` directory will
+# be used.
+#
+# config :pleroma, :frontends, primary: %{"name" => "pleroma", "ref" => "develop"}
+
config :pleroma, :web_cache_ttl,
activity_pub: nil,
activity_pub_question: 30_000