aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/main.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/main.ml b/bin/main.ml
index 579b334..ab5548a 100644
--- a/bin/main.ml
+++ b/bin/main.ml
@@ -59,7 +59,7 @@ let actor =
}
|}
-let actor_whitelist =
+let actor_allowlist =
[
"https://fosstodon.org/users/marcc";
"https://universeodon.com/users/icecreambook";
@@ -127,7 +127,7 @@ let () =
message_object |> Post.post_of_mastodon_post (User.name actor)
in
let in_whitelist =
- List.mem (Post.mastodon_actor message_object) actor_whitelist
+ List.mem (Post.mastodon_actor message_object) actor_allowlist
in
match (valid_request, disable_auth, in_whitelist) with
| Error e, "false", _ ->