mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-28 23:50:08 +00:00
fix(help): name the wildcard of the help asset route for Express 5
This commit is contained in:
@@ -61,7 +61,7 @@ export class HelpController {
|
||||
}
|
||||
}
|
||||
|
||||
@Get('asset/*')
|
||||
@Get('asset/*path')
|
||||
async asset(@Req() req: Request, @Res() res: Response): Promise<void> {
|
||||
// Take everything after `/asset/` straight from the URL — the Express
|
||||
// wildcard param isn't reliably populated through the Nest adapter.
|
||||
|
||||
Reference in New Issue
Block a user