mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-30 23:05:30 -04:00
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:
parent
4f40366e91
commit
2ae8b0c44f
2 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue