changeOrigin
Changes the origin of the host header to the target URL.
Example
vite {
server {
proxy("/foo", "http://localhost:4567", changeOrigin = true)
}
}
Content copied to clipboard
Changes the origin of the host header to the target URL.
vite {
server {
proxy("/foo", "http://localhost:4567", changeOrigin = true)
}
}