Ghost/core/frontend/meta/rss-url.js

11 lines
235 B
JavaScript
Raw Normal View History

const routingService = require('../services/routing');
function getRssUrl(data, absolute) {
return routingService.registry.getRssUrl({
secure: data.secure,
absolute: absolute
});
}
module.exports = getRssUrl;