Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
* have some issues.
*/
const websocketMiddlewares = app.get("websocketMiddlewares");
// Install the PostGraphile middleware
const middleware = postgraphile(
authPgPool,
"app_public",
postgraphileOptions({
websocketMiddlewares,
})
);
app.use(middleware);
if (enhanceHttpServerWithSubscriptions) {
enhanceHttpServerWithSubscriptions(httpServer, middleware);
}
};