diff --git a/src/guide/ssr/routing.md b/src/guide/ssr/routing.md index 28c897b8ab..943bf1389e 100644 --- a/src/guide/ssr/routing.md +++ b/src/guide/ssr/routing.md @@ -101,7 +101,7 @@ const createApp = require(appPath).default server.get('*', async (req, res) => { const { app, router } = createApp() - router.push(req.url) + await router.push(req.url) await router.isReady() const appContent = await renderToString(app)