mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: minor updates to hybrid rendering docs (#58797)
Fix typos and some minor things PR Close #58797
This commit is contained in:
parent
ec674c6a68
commit
ab4f81044c
1 changed files with 2 additions and 2 deletions
|
|
@ -302,7 +302,7 @@ import express from 'express';
|
|||
const app = express();
|
||||
const angularApp = new AngularNodeAppEngine();
|
||||
|
||||
app.get('*', (req, res, next) =>
|
||||
app.use('*', (req, res, next) => {
|
||||
angularApp
|
||||
.handle(req)
|
||||
.then(response => {
|
||||
|
|
@ -319,4 +319,4 @@ app.get('*', (req, res, next) =>
|
|||
* The request handler used by the Angular CLI (dev-server and during build).
|
||||
*/
|
||||
export const reqHandler = createNodeRequestHandler(app);
|
||||
```v
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue