Skip to content

Commit fb1d6ee

Browse files
committed
Temporary ip bypass for retreat
1 parent 8709d44 commit fb1d6ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

strfry/plugins/policies.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const policies = [
4747
max: 20,
4848
interval: one_minute,
4949
banInterval: two_days,
50-
whitelist: [localhost, eventsIp],
50+
whitelist: [localhost, eventsIp, "167.58.194.41"],
5151
// We use a different db url so that this limiter is not affected by the other limiters.
5252
// The file is stored in the strfry-db folder for persistence between restarts.
5353
databaseUrl:
@@ -62,7 +62,7 @@ const policies = [
6262
{
6363
max: 10,
6464
interval: one_minute,
65-
whitelist: [localhost, eventsIp],
65+
whitelist: [localhost, eventsIp, "167.58.194.41"],
6666
},
6767
],
6868

0 commit comments

Comments
 (0)