wildpig 1.5.8 → 1.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/prodServer.ts +1 -1
package/package.json
CHANGED
package/scripts/prodServer.ts
CHANGED
|
@@ -95,7 +95,7 @@ export const startServer = async () => {
|
|
|
95
95
|
// 2. 获取渲染函数
|
|
96
96
|
const { render } = await import("../entry/server"!);
|
|
97
97
|
// 3. 获取应用程序 HTML
|
|
98
|
-
const appHtml = await render(request)
|
|
98
|
+
const appHtml = await render(request, serverData);
|
|
99
99
|
|
|
100
100
|
// 4. 注入渲染后的应用程序 HTML 到模板中。
|
|
101
101
|
const html = template
|