Commit 05d81f5
committed
fix: bind Vite dev server to 127.0.0.1 for CI compatibility
The dev server was binding to 'localhost' by default, but Playwright
was trying to connect to '127.0.0.1'. In CI environments, these may
not resolve to the same address, causing connection timeouts.
This fix explicitly sets host: '127.0.0.1' in the Vite server config
to match the Playwright webServer.url configuration.
Fixes: E2E test timeout errors in GitHub Actions1 parent cc00549 commit 05d81f5
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments