-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem:
Our Node.js proxy (using Express and http-proxy-middleware) correctly forwards requests but fails when handling relative resource URLs (images, CSS, and scripts).
For example, an image tag like <img src="/header.png"> gets requested as just: /header.png (incorrect) instead of: anothersite.com/header.png (correct).
This breaks styles and assets on proxied pages.
Steps to Reproduce
1. Set up the proxy with the code from repos latest and currently only existing version beta .6
2. Load a website with relative URLs through the proxy.
3. Observe broken images, styles, and scripts.
Proposed Solution
All relative URLs should be converted to absolute URLs from the target domain.
Example: <img src="/header.png"> → <img src="http://anothersite.com/header.png">
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working