jvm Vite for Gradle • opensavvy.gradle.vite.base.config • ProxyOptions • replacePrefixBy replacePrefixBy¶ val replacePrefixBy: String? A path section that replaces the captured url. Example¶ vite { server { proxy("/foo", "http://localhost:4567", replacePrefixBy = "bar") } } Then, a GET /foo is proxied to GET http://localhost:4567/bar.