Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
adolfintel committed Jul 31, 2024
1 parent 1d28610 commit 2f7de85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Here's a list of additional environment variables available in this mode:
* __`EMAIL`__: Email address for GDPR requests. Must be specified when telemetry is enabled.
* __`DISABLE_IPINFO`__: If set to true, ISP info and distance will not be fetched from either ipinfo.io or the offline database. Default: value: `false`
* __`IPINFO_APIKEY`__: API key for ipinfo.io. Optional, but required if you want to use the full ipinfo.io APIs (required for distance measurement)
* __`DISTANCE`__: When `DISABLE_IPINFO` is set to false, this specifies how the distance from the server is measured. Can be either `km` for kilometers, `mi` for miles, or an empty string to disable distance measurement. Requires an ipinfo.io API key Default value: `km`
* __`DISTANCE`__: When `DISABLE_IPINFO` is set to false, this specifies how the distance from the server is measured. Can be either `km` for kilometers, `mi` for miles, or an empty string to disable distance measurement. Requires an ipinfo.io API key. Default value: `km`
* __`WEBPORT`__: Allows choosing a custom port for the included web server. Default value: `80`. Note that you will have to expose it through docker with the -p argument

If telemetry is enabled, a stats page will be available at `http://your.server/results/stats.php`, but a password must be specified.
Expand Down
2 changes: 1 addition & 1 deletion docker/ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function I(i){return document.getElementById(i);}

//LIST OF TEST SERVERS. See documentation for details if needed
<?php
$mode=getenv("MODE")
$mode=getenv("MODE");
if($mode=="standalone" || $mode=="dual"){ ?>
var SPEEDTEST_SERVERS=[];
<?php } else { ?>
Expand Down

0 comments on commit 2f7de85

Please sign in to comment.