-
I am using HPM to serve a website. The original website is under the URL https://staging.store.com And my instance of HPM is under the URL https://staging2.store.com I am proxying all connections from staging2 to staging and it works. However, when I click on any link on the website in What can I do to solve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you have absolute links in the html responses. You can rewrite them with https://github.com/chimurai/http-proxy-middleware/blob/master/recipes/response-interceptor.md |
Beta Was this translation helpful? Give feedback.
If you have absolute links in the html responses. You can rewrite them with
responseInterceptor
to transparent links (without protocol + host)https://github.com/chimurai/http-proxy-middleware/blob/master/recipes/response-interceptor.md