mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
5d977f23d4
refs #10318 - This settings endpoint returns the commonly used, public information from our settings. - The values are whitelisted each with a custom name for returning from the endpoint
12 lines
234 B
JavaScript
12 lines
234 B
JavaScript
const settingsCache = require('../../services/settings/cache');
|
|
|
|
module.exports = {
|
|
docName: 'settings',
|
|
|
|
browse: {
|
|
permissions: true,
|
|
query() {
|
|
return settingsCache.getPublic();
|
|
}
|
|
}
|
|
};
|