% content_for :title, "Settings" %>
Manage system configuration and API keys
<% if @settings['ipapi_key']&.value.present? %> ✓ Configured in database <% elsif ENV['IPAPI_KEY'].present? %> Using environment variable (IPAPI_KEY) <% else %> ipapi.is not active <% end %>
Get your API key from ipapi.is
Events older than this many days will be automatically deleted by the cleanup job (runs hourly). Set to 0 to disable automatic cleanup. Default: 90 days.
Current setting: <%= Setting.event_retention_days %> days