diff --git a/README.md b/README.md index ecb88e7..2ceb0d6 100644 --- a/README.md +++ b/README.md @@ -342,6 +342,8 @@ Use your IDE of choice to edit and point your browser at ``localhost:8000`` PRs and Issues welcome! ## Version History +* 0.10.2 - Sep 3,2023 + * Fix API string length per #102 * 0.10.1 - Sep 3,2023 * Fix pirate weather overage per #100 * 0.10.0 - Apr 3,2023 diff --git a/html/get_data.php b/html/get_data.php index c910930..389d60a 100644 --- a/html/get_data.php +++ b/html/get_data.php @@ -73,7 +73,7 @@ function configIsValid($validateApi = false) $valid['valid'] = false; $valid['reason'] .= 'Forecast API URL is wrong length or missing. (
forecast_api_url)'; } - if (!isset($YANPIWS['forecast_api_token']) || strlen($YANPIWS['forecast_api_token']) < 32 || strlen($YANPIWS['forecast_api_token']) > 41){ + if (!isset($YANPIWS['forecast_api_token']) || strlen($YANPIWS['forecast_api_token']) < 16 || strlen($YANPIWS['forecast_api_token']) > 41){ $valid['valid'] = false; $valid['reason'] .= 'Forecast API Key is wrong length or missing. (
forecast_api_token)'; } diff --git a/html/stats.php b/html/stats.php index f2be6d3..8cdb52e 100644 --- a/html/stats.php +++ b/html/stats.php @@ -29,7 +29,7 @@ - YANPIWS 0.10.1 - Released Sep 3, 2023