config: add default parameters for CSPPlug
This commit is contained in:
parent
057a9017b3
commit
69f5dfcfb3
2 changed files with 10 additions and 0 deletions
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue