Files
speedtest-tracker/config/speedtest.php
T
Alex Justesen a47e3225e5 Release v1.12.0 (#2493)
Co-authored-by: Sven van Ginkel <svenvanginkel@icloud.com>
Co-authored-by: Alex Justesen <1144087+alexjustesen@users.noreply.github.com>
2025-12-05 15:33:44 -05:00

52 lines
1.1 KiB
PHP

<?php
use Carbon\Carbon;
return [
/**
* General settings.
*/
'build_date' => Carbon::parse('2025-12-05'),
'build_version' => 'v1.12.0',
'content_width' => env('CONTENT_WIDTH', '7xl'),
'prune_results_older_than' => (int) env('PRUNE_RESULTS_OLDER_THAN', 0),
'public_dashboard' => env('PUBLIC_DASHBOARD', false),
'default_chart_range' => strtolower(env('DEFAULT_CHART_RANGE', '24h')),
/**
* Speedtest settings.
*/
'schedule' => env('SPEEDTEST_SCHEDULE', false),
'servers' => env('SPEEDTEST_SERVERS'),
'blocked_servers' => env('SPEEDTEST_BLOCKED_SERVERS'),
'interface' => env('SPEEDTEST_INTERFACE'),
'checkinternet_url' => env('SPEEDTEST_CHECKINTERNET_URL', 'https://icanhazip.com'),
/**
* IP filtering settings.
*/
'allowed_ips' => env('ALLOWED_IPS'),
'skip_ips' => env('SPEEDTEST_SKIP_IPS', ''),
/**
* Threshold settings.
*/
'threshold_enabled' => env('THRESHOLD_ENABLED', false),
'threshold_download' => env('THRESHOLD_DOWNLOAD', 0),
'threshold_upload' => env('THRESHOLD_UPLOAD', 0),
'threshold_ping' => env('THRESHOLD_PING', 0),
];