refactor(frontend-integration): inline-import http-proxy-middleware

If no dev-dependencies are installed, the unconditional
import crashes the app.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-02-12 14:13:57 +01:00
parent 4f40366e91
commit 2ae8b0c44f
2 changed files with 5 additions and 4 deletions

View file

@ -52,7 +52,7 @@ async function bootstrap(): Promise<void> {
`Serving OpenAPI docs for private api under '/private/apidoc'`,
'AppBootstrap',
);
setupFrontendProxy(app, logger);
await setupFrontendProxy(app, logger);
}
await setupSpecialGroups(app);