diff --git a/server/directions.js b/server/directions.js index ff3e317..1799f99 100644 --- a/server/directions.js +++ b/server/directions.js @@ -31,7 +31,7 @@ async function doGetEstDirectionsWithIncidents(olat, olon, dlat, dlon) { async function doGetEstDirections(olat, olon, dlat, dlon) { logger.debug('doGetEstDirections'); - const url = `https://sgws2.maps.yahoo.com/Directions?time=now&cache=n&flags=J&olat=${olat}&olon=${olon}&dlat=${dlat}&dlon=${dlon}`; + const url = `https://sgws2.maps.yahoo.com/Directions?time=now&cache=n&flags=J&olat=${olat}&olon=${olon}&dlat=${dlat}&dlon=${dlon}&mode=11`; logger.debug(url); diff --git a/src/service-worker.js b/src/service-worker.js index 9874dac..9fba469 100644 --- a/src/service-worker.js +++ b/src/service-worker.js @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -const CACHE_VERSION = { 'version': '0.0.809' }; +const CACHE_VERSION = { 'version': '0.0.810' }; const PRECACHE = `jubileeData-${CACHE_VERSION.version}`; const RUNTIME = 'runtime'; diff --git a/src/v1/js/Traffic.js b/src/v1/js/Traffic.js index d56d64c..44c57f5 100644 --- a/src/v1/js/Traffic.js +++ b/src/v1/js/Traffic.js @@ -31,7 +31,7 @@ const TrafficModel = Backbone.Model.extend({ if (day !== 0 && day !== 6) doRequest = (((hour >= 7) && (hour <= 9)) || ((hour >= 17) && (hour <= 19))); - doRequest = true; + // doRequest = true; const delay = doRequest ? 600000 : toHour();