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
13 lines
234 B
JavaScript
13 lines
234 B
JavaScript
const settingsCache = require('../../services/settings/cache');
|
|
|
|
module.exports = {
|
|
docName: 'settings',
|
|
|
|
browse: {
|
|
permissions: true,
|
|
query() {
|
|
return settingsCache.getPublic();
|
|
}
|
|
}
|
|
};
|