projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b9210e
)
Update type for :replace settings
author
Angelina Filippova
<linakirsanova@gmail.com>
Fri, 10 Jul 2020 00:32:53 +0000
(
03:32
+0300)
committer
Angelina Filippova
<linakirsanova@gmail.com>
Fri, 10 Jul 2020 00:32:53 +0000
(
03:32
+0300)
config/description.exs
patch
|
blob
|
history
diff --git
a/config/description.exs
b/config/description.exs
index c2cd405873673568c8294d090011f4b9cd09194e..0a0a8e95c2e6fe8612c6a1919ed5af801a09f8d6 100644
(file)
--- a/
config/description.exs
+++ b/
config/description.exs
@@
-1601,7
+1601,7
@@
config :pleroma, :config_description, [
},
%{
key: :replace,
- type:
[{:tuple, :string, :string}, {:tuple, :regex, :string}]
,
+ type:
{:keyword, :string, :regex}
,
description:
"A list of tuples containing {pattern, replacement}. Each pattern can be a string or a regular expression.",
suggestions: [{"foo", "bar"}, {~r/foo/iu, "bar"}]