aboutsummaryrefslogtreecommitdiff
path: root/lib/mix/tasks/sample_config.eex
diff options
context:
space:
mode:
authorkaniini <nenolod@gmail.com>2018-12-06 15:35:30 +0000
committerkaniini <nenolod@gmail.com>2018-12-06 15:35:30 +0000
commit776179c2ed72323db245d7eef20054beea0db429 (patch)
tree0646931e0613773562f6c07b929878b899ffcf53 /lib/mix/tasks/sample_config.eex
parentccf0b46dd6a0390a06847b4a1c3eedc8d8e6c916 (diff)
parent6f36e903b0a8702ec279df29c1d039cb08a574d4 (diff)
downloadpleroma-776179c2ed72323db245d7eef20054beea0db429.tar.gz
Merge branch 'feature/compat/push-subscriptions' into 'develop'
Web Push Subscriptions See merge request pleroma/pleroma!506
Diffstat (limited to 'lib/mix/tasks/sample_config.eex')
-rw-r--r--lib/mix/tasks/sample_config.eex12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/mix/tasks/sample_config.eex b/lib/mix/tasks/sample_config.eex
index 462c34636..47b6be729 100644
--- a/lib/mix/tasks/sample_config.eex
+++ b/lib/mix/tasks/sample_config.eex
@@ -25,6 +25,12 @@ config :pleroma, Pleroma.Repo,
hostname: "localhost",
pool_size: 10
+# Configure web push notifications
+config :web_push_encryption, :vapid_details,
+ subject: "mailto:<%= email %>",
+ public_key: "<%= web_push_public_key %>",
+ private_key: "<%= web_push_private_key %>"
+
# Enable Strict-Transport-Security once SSL is working:
# config :pleroma, :http_security,
# sts: true
@@ -50,9 +56,9 @@ config :pleroma, Pleroma.Repo,
# Configure Openstack Swift support if desired.
-#
-# Many openstack deployments are different, so config is left very open with
-# no assumptions made on which provider you're using. This should allow very
+#
+# Many openstack deployments are different, so config is left very open with
+# no assumptions made on which provider you're using. This should allow very
# wide support without needing separate handlers for OVH, Rackspace, etc.
#
# config :pleroma, Pleroma.Uploaders.Swift,