How to solve the static resource loading problem of the target server when the target path is dynamic proxy #205
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Assuming I understand your scenario, this is not something the proxy is designed to handle. Doing this would require rewriting the HTML and maybe other resources coming from the site to insert a leading It's likely you'll have to seek another proxy solution. |
Beta Was this translation helpful? Give feedback.
Assuming I understand your scenario, this is not something the proxy is designed to handle. Doing this would require rewriting the HTML and maybe other resources coming from the site to insert a leading
/proxy
. Or add an HTML meta tag that sets the URL base (if I recall; I haven't done front end work in many years). If you have control over the target site, you could improve it to avoid absolute URLs.It's likely you'll have to seek another proxy solution.