mirror of
https://github.com/netzbegruenung/mastodon-bot.git
synced 2024-05-04 11:53:42 +02:00
commit
fec68ef646
|
@ -18,7 +18,7 @@
|
|||
(-> js/process .-env .-MASTODON_BOT_CONFIG)
|
||||
"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)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue