From 2f9359554b209ee07031780be9a5453946fc1c72 Mon Sep 17 00:00:00 2001 From: mrjones-plip Date: Mon, 4 Sep 2023 14:28:55 -0700 Subject: [PATCH] bump version --- README.md | 2 ++ html/get_data.php | 2 +- html/stats.php | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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 @@

<- Weather

- YANPIWS 0.10.1 - Released Sep 3, 2023
+ YANPIWS 0.10.2 - Released Sep 4, 2023
Powered by Pirate Weather
Forecast Cache Age: