Change default values of LG_LOCATIONS and LG_SPEEDTEST_FILES back

This commit is contained in:
RealBrandon 2024-04-27 15:19:45 +01:00
parent 531c39ab90
commit 4906fd0227
2 changed files with 8 additions and 12 deletions

View File

@ -63,12 +63,11 @@ const LG_METHODS = [
];
// Define other looking glasses, this is useful if you have multiple networks and looking glasses;
/* const LG_LOCATIONS = [
const LG_LOCATIONS = [
'Location A' => 'https://github.com/hybula/lookingglass/',
'Location B' => 'https://github.com/hybula/lookingglass/',
'Location C' => 'https://github.com/hybula/lookingglass/',
]; */
const LG_LOCATIONS = [];
];
// Enable the iPerf info inside the speedtest block, set to false to disable;
const LG_SPEEDTEST_IPERF = true;
@ -81,12 +80,11 @@ const LG_SPEEDTEST_LABEL_OUTGOING = 'iPerf3 Outgoing';
// Define the command to use to test outgoing speed using iPerf, preferable iPerf3;
const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c hostname -p 5201 -P 4 -R';
// Define speedtest files with URLs to the actual files;
/* const LG_SPEEDTEST_FILES = [
const LG_SPEEDTEST_FILES = [
'100M' => 'https://github.com/hybula/lookingglass/',
'1G' => 'https://github.com/hybula/lookingglass/',
'10G' => 'https://github.com/hybula/lookingglass/'
]; */
const LG_SPEEDTEST_FILES = [];
];
// Define if you require visitors to agree with the Terms of Use. The value should be a link to the terms, or false to disable it completely.
const LG_TERMS = false;

View File

@ -63,12 +63,11 @@ const LG_METHODS = [
];
// Define other looking glasses, this is useful if you have multiple networks and looking glasses;
/* const LG_LOCATIONS = [
const LG_LOCATIONS = [
'Location A' => 'https://github.com/hybula/lookingglass/',
'Location B' => 'https://github.com/hybula/lookingglass/',
'Location C' => 'https://github.com/hybula/lookingglass/',
]; */
const LG_LOCATIONS = [];
];
// Enable the iPerf info inside the speedtest block, set to false to disable;
const LG_SPEEDTEST_IPERF = true;
@ -81,12 +80,11 @@ const LG_SPEEDTEST_LABEL_OUTGOING = 'iPerf3 Outgoing';
// Define the command to use to test outgoing speed using iPerf, preferable iPerf3;
const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c hostname -p 5201 -P 4 -R';
// Define speedtest files with URLs to the actual files;
/* const LG_SPEEDTEST_FILES = [
const LG_SPEEDTEST_FILES = [
'100M' => 'https://github.com/hybula/lookingglass/',
'1G' => 'https://github.com/hybula/lookingglass/',
'10G' => 'https://github.com/hybula/lookingglass/'
]; */
const LG_SPEEDTEST_FILES = [];
];
// Define if you require visitors to agree with the Terms of Use. The value should be a link to the terms, or false to disable it completely.
define('LG_TERMS', getenv('LG_TERMS') ?: false);