Added quick reports (at this moment only one) to campaign statistics page.
This commit is contained in:
parent
3e3c3a24fe
commit
72ffe065d2
11 changed files with 305 additions and 143 deletions
|
@ -21,6 +21,7 @@ const api = require('./routes/api');
|
|||
|
||||
// These are routes for the new React-based client
|
||||
const reports = require('./routes/reports');
|
||||
const quickReports = require('./routes/quick-reports');
|
||||
const subscriptions = require('./routes/subscriptions');
|
||||
const subscription = require('./routes/subscription');
|
||||
const sandboxedMosaico = require('./routes/sandboxed-mosaico');
|
||||
|
@ -286,6 +287,8 @@ async function createApp(appType) {
|
|||
useWith404Fallback('/rpts', reports); // This needs to be different from "reports", which is already used by the UI
|
||||
}
|
||||
|
||||
useWith404Fallback('/quick-rpts', quickReports);
|
||||
|
||||
// API endpoints
|
||||
useWith404Fallback('/api', api);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue