Skip to content

Commit

Permalink
Added the ability to disable ip-api check
Browse files Browse the repository at this point in the history
  • Loading branch information
KaniRobinson committed Aug 29, 2024
1 parent 8fbd3cd commit ea570a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ AWS_USE_PATH_STYLE_ENDPOINT=false

TINYMCE_API_KEY=

IP_API_ENABLED=false

TURNSTILE_ENABLED=false
TURNSTILE_SITE_KEY=
TURNSTILE_SECRET_KEY=
Expand Down
5 changes: 5 additions & 0 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,9 @@
'key' => env('TURNSTILE_SITE_KEY'),
'secret' => env('TURNSTILE_SECRET_KEY'),
],

'ip-api' => [
'enabled' => env('IP_API_ENABLED', false),
],

];

0 comments on commit ea570a7

Please sign in to comment.