Skip to content

Commit 1161092

Browse files
committed
fix(docs): typo on ssr-middleware page
1 parent 842ba6c commit 1161092

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/src/pages/quasar-cli-vite/developing-ssr/ssr-middleware.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Detailing the Object:
6464
6565
```js
6666
{
67-
app, // Expressjs app or whatever is returned from src-ssr/webserver -> create()
67+
app, // Expressjs app or whatever is returned from src-ssr/server -> create()
6868
port, // on dev: devServer port; on prod: process.env.PORT or quasar.config > ssr > prodPort
6969
resolve: {
7070
urlPath, // (url) => path string with publicPath ensured to be included,
@@ -78,7 +78,7 @@ Detailing the Object:
7878
},
7979
render, // (ssrContext) => html string
8080
serve: {
81-
static, // ({ urlPath = '/', pathToServe = '.', opts = {} }) => void (OR whatever returned by src-ssr/webserver -> serveStaticContent())
81+
static, // ({ urlPath = '/', pathToServe = '.', opts = {} }) => void (OR whatever returned by src-ssr/server -> serveStaticContent())
8282
error // DEV only; ({ err, req, res }) => void
8383
}
8484
}

docs/src/pages/quasar-cli-webpack/developing-ssr/ssr-middleware.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Detailing the Object:
6464
6565
```js
6666
{
67-
app, // Expressjs app or whatever is returned from src-ssr/webserver -> create()
67+
app, // Expressjs app or whatever is returned from src-ssr/server -> create()
6868
port, // on dev: devServer port; on prod: process.env.PORT or quasar.config > ssr > prodPort
6969
resolve: {
7070
urlPath, // (url) => path string with publicPath ensured to be included,
@@ -78,7 +78,7 @@ Detailing the Object:
7878
},
7979
render, // (ssrContext) => html string
8080
serve: {
81-
static, // ({ urlPath = '/', pathToServe = '.', opts = {} }) => void (OR whatever returned by src-ssr/webserver -> serveStaticContent())
81+
static, // ({ urlPath = '/', pathToServe = '.', opts = {} }) => void (OR whatever returned by src-ssr/server -> serveStaticContent())
8282
error // DEV only; ({ err, req, res }) => void
8383
}
8484
}

0 commit comments

Comments
 (0)