mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: Update request handler to use handle method
there is no request method the correct method is hanlde
This commit is contained in:
committed by
Matthew Beck
parent
1b0d861fe5
commit
e1bf5393ad
@@ -659,7 +659,7 @@ const angularApp = new AngularAppEngine();
|
||||
* This is a request handler used by the Angular CLI (dev-server and during build).
|
||||
*/
|
||||
export const reqHandler = createRequestHandler(async (req: Request) => {
|
||||
const res: Response | null = await angularApp.render(req);
|
||||
const res: Response | null = await angularApp.handle(req);
|
||||
|
||||
// ...
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user