You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now when I load up site.localhost:8080, it displays absolute links on a page as site.localhost/link.html. Browsersync somehow automatically rewrites all those to site.localhost:8080/link.html so navigating pages keeps you running through webpack dev server.
Is something like that possible using this middleware? Tried a few things with onProxyRes, but I'm not sure if that can support what I'm looking for. Thanks!
The text was updated successfully, but these errors were encountered:
Is it possible to rewrite links on a page in a similar way to how Browsersync does it?
Example:
PHP server:
site.localhost
webpack-dev-server:
site.localhost:8080
(proxy site.localhost)Right now when I load up
site.localhost:8080
, it displays absolute links on a page assite.localhost/link.html
. Browsersync somehow automatically rewrites all those tosite.localhost:8080/link.html
so navigating pages keeps you running through webpack dev server.Is something like that possible using this middleware? Tried a few things with
onProxyRes
, but I'm not sure if that can support what I'm looking for. Thanks!The text was updated successfully, but these errors were encountered: