RedisInsight icon indicating copy to clipboard operation
RedisInsight copied to clipboard

[Bug]: Proxy only handles *.html files in middleware

Open verbotenj opened this issue 10 months ago • 0 comments

Preconditions (Any important steps we need to know) Deploy redisinsight in k8s Set RI_PROXY_PATH to something else than default "/"

Steps to reproduce (How to reproduce what you found step by step) Call/Curl redisinsight service

Actual behavior (A short description of what you found) The response returns html but js scripts still reference "/"

Expected behavior (A short description of what you expected to find) The response should return html with js scripts reference respecting RI_PROXY_PATH

Screenshots (Paste or drag-and-drop a screenshot or a link to a recording)

Additional context (Operating system, version of Redis Insight, Redis database version, Redis module version, database type, connection type, logs, or any other information)

https://github.com/RedisInsight/RedisInsight/blob/main/redisinsight/api/src/middleware/subpath-proxy.middleware.ts#L12

verbotenj avatar Apr 22 '24 14:04 verbotenj