Skip to content

Commit

Permalink
fix: restore preds by latlng.
Browse files Browse the repository at this point in the history
  • Loading branch information
morganney committed Oct 9, 2023
2 parents f35244b + 8234a63 commit b05c121
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions lib/api/predictions.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,9 @@ predictions.location = function(req, res) {
lon: alatlon[1].trim()
});
options = {
hostname: 'www.nextbus.com',
hostname: 'retro.umoiq.com',
path: '/service/mobile',
method: 'POST',
port: 80,
headers: {
'content-type': 'application/x-www-form-urlencoded',
'content-length': postdata.length
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "restbus",
"description": "RESTful JSON API for the NextBus Inc. public XML feed.",
"version": "2.0.2",
"version": "2.0.3",
"main": "index",
"dependencies": {
"compression": "1.7.4",
Expand Down

0 comments on commit b05c121

Please sign in to comment.