Work in progress on securing reports.
This commit is contained in:
parent
3072632d8d
commit
418dba7b9f
14 changed files with 709 additions and 331 deletions
7
app.js
7
app.js
|
@ -213,8 +213,11 @@ app.use('/api', api);
|
|||
app.use('/editorapi', editorapi);
|
||||
app.use('/grapejs', grapejs);
|
||||
app.use('/mosaico', mosaico);
|
||||
app.use('/reports', reports);
|
||||
app.use('/report-templates', reportsTemplates);
|
||||
|
||||
if (config.reports && config.reports.enabled === true) {
|
||||
app.use('/reports', reports);
|
||||
app.use('/report-templates', reportsTemplates);
|
||||
}
|
||||
|
||||
// catch 404 and forward to error handler
|
||||
app.use((req, res, next) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue