Change default values of LG_LOCATIONS and LG_SPEEDTEST_FILES back
This commit is contained in:
parent
531c39ab90
commit
4906fd0227
@ -63,12 +63,11 @@ const LG_METHODS = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
// Define other looking glasses, this is useful if you have multiple networks and looking glasses;
|
// 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 A' => 'https://github.com/hybula/lookingglass/',
|
||||||
'Location B' => 'https://github.com/hybula/lookingglass/',
|
'Location B' => 'https://github.com/hybula/lookingglass/',
|
||||||
'Location C' => '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;
|
// Enable the iPerf info inside the speedtest block, set to false to disable;
|
||||||
const LG_SPEEDTEST_IPERF = true;
|
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;
|
// 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';
|
const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c hostname -p 5201 -P 4 -R';
|
||||||
// Define speedtest files with URLs to the actual files;
|
// Define speedtest files with URLs to the actual files;
|
||||||
/* const LG_SPEEDTEST_FILES = [
|
const LG_SPEEDTEST_FILES = [
|
||||||
'100M' => 'https://github.com/hybula/lookingglass/',
|
'100M' => 'https://github.com/hybula/lookingglass/',
|
||||||
'1G' => 'https://github.com/hybula/lookingglass/',
|
'1G' => 'https://github.com/hybula/lookingglass/',
|
||||||
'10G' => '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 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;
|
const LG_TERMS = false;
|
||||||
|
@ -63,12 +63,11 @@ const LG_METHODS = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
// Define other looking glasses, this is useful if you have multiple networks and looking glasses;
|
// 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 A' => 'https://github.com/hybula/lookingglass/',
|
||||||
'Location B' => 'https://github.com/hybula/lookingglass/',
|
'Location B' => 'https://github.com/hybula/lookingglass/',
|
||||||
'Location C' => '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;
|
// Enable the iPerf info inside the speedtest block, set to false to disable;
|
||||||
const LG_SPEEDTEST_IPERF = true;
|
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;
|
// 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';
|
const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c hostname -p 5201 -P 4 -R';
|
||||||
// Define speedtest files with URLs to the actual files;
|
// Define speedtest files with URLs to the actual files;
|
||||||
/* const LG_SPEEDTEST_FILES = [
|
const LG_SPEEDTEST_FILES = [
|
||||||
'100M' => 'https://github.com/hybula/lookingglass/',
|
'100M' => 'https://github.com/hybula/lookingglass/',
|
||||||
'1G' => 'https://github.com/hybula/lookingglass/',
|
'1G' => 'https://github.com/hybula/lookingglass/',
|
||||||
'10G' => '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 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);
|
define('LG_TERMS', getenv('LG_TERMS') ?: false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user