Skip to content

Commit

Permalink
Rebasing code (#30)
Browse files Browse the repository at this point in the history
Co-authored-by: Cloud User <[email protected]>
  • Loading branch information
roller1187 and Cloud User authored Jan 30, 2025
1 parent a70c51a commit d749ab1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dc-metro-map/README-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Notes for developers extending or fixing bugs in this sample code.

## API keys and MapBox Access Tokens
### Mapbox
My developer access token is included in this application - feel free to use it, please don't abuse it. You can replace with your own by editing the views/dcmetro.jade file and replacing the line with "L.mapbox.accessToken = ...". FYI it's a good rule of thumb to [rotate public access tokens][2].
My developer access token is included in this application - feel free to use it, please don't abuse it. You can replace with your own by editing the views/dcmetro.pug file and replacing the line with "L.mapbox.accessToken = ...". FYI it's a good rule of thumb to [rotate public access tokens][2].

### WMATA
The real-time bus locations feature requires an API key. You should signup to get an API key for [WMATA developers here][1]. Using this key, update the routes/index.js file or use the WMATA_API_KEY environment variable.
Expand Down
2 changes: 1 addition & 1 deletion dc-metro-map/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var app = express();

// view engine setup
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'jade');
app.set('view engine', 'pug');

// uncomment after placing your favicon in /public
//app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
Expand Down
16 changes: 8 additions & 8 deletions dc-metro-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
"start": "node ./bin/www"
},
"dependencies": {
"body-parser": "~1.13.2",
"cookie-parser": "~1.3.5",
"debug": "~4.1.1",
"express": "~4.13.1",
"jade": "~1.11.0",
"morgan": "~1.9.1",
"body-parser": "~1.20.3",
"cookie-parser": "~1.4.7",
"debug": "~4.4.0",
"express": "~4.21.2",
"pug": "~3.0.3",
"morgan": "~1.10.0",
"restler": "~3.4.0",
"serve-favicon": "~2.3.0"
"serve-favicon": "~2.5.0"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-nodeunit": "~0.4.1",
"grunt-contrib-uglify": "~0.5.0"
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d749ab1

Please sign in to comment.