Ghost/core/frontend/meta/rss-url.js
Hannah Wolfe af4bfb8862
Changed meta filenames to correct casing
- purely for cleanliness!
- we use kebabcase by default
- tests should be kebab-case-file_spec.js (one day we want this to be .test.js)
2021-07-01 12:30:25 +01:00

11 lines
235 B
JavaScript

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