We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b25cac commit 5b23909Copy full SHA for 5b23909
playground/ssr-react/vite.config.js
@@ -61,7 +61,7 @@ export default defineConfig({
61
const url = req.originalUrl ?? '/'
62
try {
63
const { render } = await import(
64
- path.resolve('dist/server/entry-server.js')
+ new URL('./dist/server/entry-server.js', import.meta.url).href
65
)
66
const appHtml = render(url)
67
const html = template.replace(`<!--app-html-->`, appHtml)
0 commit comments