You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
547 B
JavaScript
13 lines
547 B
JavaScript
'use strict';
|
|
|
|
module.exports = function (app, middleware, controllers) {
|
|
app.get('/sitemap.xml', controllers.sitemap.render);
|
|
app.get('/sitemap/pages.xml', controllers.sitemap.getPages);
|
|
app.get('/sitemap/categories.xml', controllers.sitemap.getCategories);
|
|
app.get(/\/sitemap\/topics\.(\d+)\.xml/, controllers.sitemap.getTopicPage);
|
|
app.get('/robots.txt', controllers.robots);
|
|
app.get('/manifest.json', controllers.manifest);
|
|
app.get('/css/previews/:theme', controllers.admin.themes.get);
|
|
app.get('/osd.xml', controllers.osd.handle);
|
|
};
|