Skip to content

Commit f655e79

Browse files
committed
example-app: vite.config.ts: listen to all ips to catch requests from docker host machine
1 parent d3ad538 commit f655e79

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

example-app/vite.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ import { defineConfig } from "vite"
44
import react from "@vitejs/plugin-react"
55

66
export default defineConfig({
7-
plugins: [react()]
7+
plugins: [react()],
8+
server: {
9+
host: true
10+
}
811
})

0 commit comments

Comments
 (0)