mirror of
https://github.com/standardnotes/server
synced 2026-10-20 21:03:36 -04:00
fix(api-gateway): proxy endpoint for request passing
This commit is contained in:
@@ -13,6 +13,6 @@ export class ProxyController extends BaseHttpController {
|
||||
|
||||
@all('*', TYPES.AuthMiddleware)
|
||||
async createToken(request: Request, response: Response): Promise<void> {
|
||||
await this.httpService.callProxyServer(request, response, '/', request.body)
|
||||
await this.httpService.callProxyServer(request, response, request.path.replace('/v1/proxy', ''), request.body)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user