# ... see /priv/static/static/config.json for the available keys.
},
masto_fe:%{
showInstanceSpecificPanel:true
}
```
These settings need to be complete, they will override the defaults. See `priv/static/static/config.json` for the available keys.
These settings **need to be complete**, they will override the defaults.
NOTE: for versions < 1.0, you need to set [`:fe`](#fe) to false, as shown a few lines below.
## :fe
## :fe
__THIS IS DEPRECATED__
__THIS IS DEPRECATED__
If you are using this method, please change it to the `frontend_configurations` method. Please set this option to false in your config like this: `config :pleroma, :fe, false`.
If you are using this method, please change it to the [`frontend_configurations`](#frontend_configurations) method.
Please **set this option to false** in your config like this:
```elixir
config:pleroma,:fe,false
```
This section is used to configure Pleroma-FE, unless ``:managed_config`` in ``:instance`` is set to false.
This section is used to configure Pleroma-FE, unless ``:managed_config`` in ``:instance`` is set to false.
...
@@ -274,7 +290,7 @@ their ActivityPub ID.
...
@@ -274,7 +290,7 @@ their ActivityPub ID.
An example:
An example:
```exs
```elixir
config:pleroma,:mrf_user_allowlist,
config:pleroma,:mrf_user_allowlist,
"example.org":["https://example.org/users/admin"]
"example.org":["https://example.org/users/admin"]
```
```
...
@@ -303,7 +319,7 @@ the source code is here: https://github.com/koto-bank/kocaptcha. The default end
...
@@ -303,7 +319,7 @@ the source code is here: https://github.com/koto-bank/kocaptcha. The default end
Allows to set a token that can be used to authenticate with the admin api without using an actual user by giving it as the 'admin_token' parameter. Example:
Allows to set a token that can be used to authenticate with the admin api without using an actual user by giving it as the 'admin_token' parameter. Example:
```exs
```elixir
config:pleroma,:admin_token,"somerandomtoken"
config:pleroma,:admin_token,"somerandomtoken"
```
```
...
@@ -387,7 +403,7 @@ Configuration for the `auto_linker` library:
...
@@ -387,7 +403,7 @@ Configuration for the `auto_linker` library:
Example:
Example:
```exs
```elixir
config:auto_linker,
config:auto_linker,
opts:[
opts:[
scheme:true,
scheme:true,
...
@@ -460,7 +476,7 @@ Note: make sure that `"SameSite=Lax"` is set in `extra_cookie_attrs` when you ha
...
@@ -460,7 +476,7 @@ Note: make sure that `"SameSite=Lax"` is set in `extra_cookie_attrs` when you ha
Once the app is configured on external OAuth provider side, add app's credentials and strategy-specific settings (if any — e.g. see Microsoft below) to `config/prod.secret.exs`,
Once the app is configured on external OAuth provider side, add app's credentials and strategy-specific settings (if any — e.g. see Microsoft below) to `config/prod.secret.exs`,
per strategy's documentation (e.g. [ueberauth_twitter](https://github.com/ueberauth/ueberauth_twitter)). Example config basing on environment variables:
per strategy's documentation (e.g. [ueberauth_twitter](https://github.com/ueberauth/ueberauth_twitter)). Example config basing on environment variables: