Skip to content

Commit

Permalink
build: fix server entry
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Apr 12, 2024
1 parent 04dce51 commit c544a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/react-server/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineConfig((_env) => ({
plugins: [
react(),
vitePluginSsrMiddleware({
entry: "/src/adapters/node",
entry: process.env["SERVER_ENTRY"] ?? "/src/adapters/node",
preview: new URL("./dist/server/index.js", import.meta.url).toString(),
}),
vitePluginReactServer(),
Expand Down

0 comments on commit c544a5e

Please sign in to comment.