-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Description
Hi,
I'm using ecstatic behind a proxy, something like proxying http://localhost/a to http://localhost:8080, where 8080 is the port ecstatic is listening to. The problem is that ecstatic uses absolute url for href, which resolves to a url where the file path is directly appended to the host part, instead of the current url.
For instance, when browsing from http://localhost/a, clicking folder f navigates to http://localhost/f/, instead of http://localhost/a/f/.
I noticed that there's a baseDir option, but it's irrelevant here since the base url(/a) is already eaten by the proxy before baseDir applies.
Using relative url for href may be a solution, but I'm not sure whether you are using absolute path for some reason. How do you think?
Metadata
Metadata
Assignees
Labels
No labels