commit
fec68ef646
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
(-> js/process .-env .-MASTODON_BOT_CONFIG)
|
(-> js/process .-env .-MASTODON_BOT_CONFIG)
|
||||||
"config.edn"))
|
"config.edn"))
|
||||||
|
|
||||||
(def config (-> (find-config) fs/readFileSync str edn/read-string))
|
(def config (-> (find-config) (fs/readFileSync #js {:encoding "UTF-8"}) edn/read-string))
|
||||||
|
|
||||||
(def content-filter-regexes (mapv re-pattern (-> config :mastodon :content-filters)))
|
(def content-filter-regexes (mapv re-pattern (-> config :mastodon :content-filters)))
|
||||||
|
|
||||||
|
|
Reference in a new issue