config: add default parameters for CSPPlug

This commit is contained in:
William Pitcock 2018-11-11 06:37:18 +00:00
commit 69f5dfcfb3
2 changed files with 10 additions and 0 deletions

View file

@ -176,6 +176,11 @@ config :pleroma, :suggestions,
limit: 23,
web: "https://vinayaka.distsn.org/?{{host}}+{{user}}"
config :pleroma, :csp,
enabled: true,
sts: false,
sts_max_age: 31_536_000
config :cors_plug,
max_age: 86_400,
methods: ["POST", "PUT", "DELETE", "GET", "PATCH", "OPTIONS"],