Many fixes
This commit is contained in:
+7
-1
@@ -32,7 +32,13 @@ export class App {
|
||||
const routes = [
|
||||
// DataRoute owns resource read/write/subscribe logic and maps resource
|
||||
// ids to broadcaster topics. timestampWindowMs controls write replay protection.
|
||||
new DataRoute(database, broadcaster, config.auth.timestampWindowMs),
|
||||
new DataRoute({
|
||||
auth: auth,
|
||||
database: database,
|
||||
broadcaster: broadcaster,
|
||||
}, {
|
||||
timestampWindowMs: config.auth.timestampWindowMs,
|
||||
}),
|
||||
];
|
||||
|
||||
// Route loading is an explicit startup phase, not first-request work.
|
||||
|
||||
Reference in New Issue
Block a user