fleet/website/api/controllers/docs/view-os-settings.js
Eric e890981e1c
Website: Move documentation pages into docs/ folder, rename scripts to script-library (#42510)
Changes:
- Moved documentation pages into the docs/ folder
- Updated routes, poicies, and importer.less
- Renamed the "scripts" page to "script-library" to be consistent with
the other landing pages for YAML documentation
- removed a stray console.log() in the new-licence page script
2026-03-26 15:32:48 -05:00

29 lines
342 B
JavaScript
Vendored

module.exports = {
friendlyName: 'View os settings',
description: 'Display "Os settings" page.',
exits: {
success: {
viewTemplatePath: 'pages/docs/os-settings'
}
},
fn: async function () {
// Respond with view.
return {
algoliaPublicKey: sails.config.custom.algoliaPublicKey,
};
}
};