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
{{ message }}
This repository was archived by the owner on Aug 10, 2023. It is now read-only.
.. serving at a different subpath (e.g. DOMAIN/dimension/) means that the index page loads, but all resources are attempted to be loaded from the wrong place (DOMAIN/asset instead of DOMAIN/dimension/asset). To fix it up, one would need to override the base url.
For nginx, one could possibly use a sub_filter, but other reverse-proxies (e.g. Traefik) do not currently have an integrated middleware for arbitrary text replacements.
I suppose the easiest solution would be to make the docker entrypoint read some environment variable (e.g. BASE_URL) and then do a sed-replace in web/index.html before starting.
Due to
matrix-dimension/web/index.html
Line 86 in b98b284
.. serving at a different subpath (
e.g. DOMAIN/dimension/) means that the index page loads, but all resources are attempted to be loaded from the wrong place (DOMAIN/assetinstead ofDOMAIN/dimension/asset). To fix it up, one would need to override the base url.For nginx, one could possibly use a sub_filter, but other reverse-proxies (e.g. Traefik) do not currently have an integrated middleware for arbitrary text replacements.
I suppose the easiest solution would be to make the docker entrypoint read some environment variable (e.g.
BASE_URL) and then do ased-replace inweb/index.htmlbefore starting.