Commit b05c9dd
committed
fix: redirect all dev requests to Vite dev server regardless of hostname
When the server binds to 0.0.0.0 in development (network-accessible mode),
requests arriving via a LAN IP were not being redirected to the Vite dev
server because of the isLoopbackHostname guard. This caused 503 errors
since no static directory exists during development.
Remove the hostname check so all requests are redirected when devUrl is
configured.1 parent 2929b17 commit b05c9dd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
0 commit comments