Implemented filter functions to get roles by application_id

This commit is contained in:
2025-07-09 14:52:51 +02:00
parent c9c73cbdb2
commit f3939661e4
6 changed files with 175 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ function getExportName(slug) {
// Root: redirect to your documentation
app.get('/', (req, res) => {
res.redirect('{{ domains | get_url('sphinx', web_protocol) }}/roles/web-app-{{ application_id }}/README.html');
res.redirect('{{ domains | get_url('sphinx', web_protocol) }}/{{ application_id | rel_role_path_by_application_id}}/README.html');
});
// GET /:slug.svg