mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: minor updates to hybrid rendering docs (#58797)
Fix typos and some minor things PR Close #58797
This commit is contained in:
committed by
Jessica Janiuk
parent
ec674c6a68
commit
ab4f81044c
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user