sitemap now works and can be deployed

This commit is contained in:
Michael Q Larson
2015-03-06 00:20:39 -08:00
parent c8c396981a
commit 1ee1ff4052
2 changed files with 14 additions and 14 deletions

2
app.js
View File

@ -334,7 +334,7 @@ app.post('/account/profile', userController.postUpdateProfile);
app.post('/account/password', userController.postUpdatePassword);
app.post('/account/delete', userController.postDeleteAccount);
app.get('/account/unlink/:provider', userController.getOauthUnlink);
app.get('/sitemap', resourcesController.sitemap);
app.get('/sitemap.xml', resourcesController.sitemap);
/**
* API examples routes.

View File

@ -2,79 +2,79 @@ doctype xml
urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")
url
loc= http://www.freecodecamp.com/
loc http://www.freecodecamp.com/
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/install-screenhero
loc http://www.freecodecamp.com/install-screenhero
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/deploy-a-website
loc http://www.freecodecamp.com/deploy-a-website
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/control-shortcuts
loc http://www.freecodecamp.com/control-shortcuts
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/pair-program-with-team-viewer
loc http://www.freecodecamp.com/pair-program-with-team-viewer
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/login
loc http://www.freecodecamp.com/login
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/nonprofits
loc http://www.freecodecamp.com/nonprofits
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/learn-to-code
loc http://www.freecodecamp.com/learn-to-code
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/chromebook
loc http://www.freecodecamp.com/chromebook
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/live-pair-programming
loc http://www.freecodecamp.com/live-pair-programming
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/privacy
loc http://www.freecodecamp.com/privacy
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/jquery-exercises
loc http://www.freecodecamp.com/jquery-exercises
changefreq weekly
lastmod= now
priority= 0.5
url
loc= http://www.freecodecamp.com/javascript-in-your-inbox
loc http://www.freecodecamp.com/javascript-in-your-inbox
changefreq weekly
lastmod= now
priority= 0.5