Refactor to dedupe and add version

This commit is contained in:
Pete ba
2019-05-06 12:14:15 +01:00
parent ca21058977
commit 612f911285
3 changed files with 58 additions and 92 deletions

View File

@@ -37,7 +37,7 @@ exports.captureWUStream = function( req, res ) {
res.send( "success\n" );
};
exports.hasLocalWeather = function() {
exports.useLocalWeather = function() {
return ( server.pws !== "false" ? true : false );
};