Css and Js are referenced by /static which makes it impossible to use cellxgene behind a proxy
See original GitHub issueDescribe the bug We could use release 0.15 behind a proxy because the <link href="static/..."> in index.html were relative “static/…:” Since release 0.16.x the refs are rooted <link href="/static/..."> So the client is not able to find required css and js files.
<link rel="shortcut icon" href="/static/assets/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="/static/assets/favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="/static/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="48x48" href="/static/assets/favicon-48x48.png"><link href="/static/main-43784039cc02aec7a62e.css" rel="stylesheet"></head>
--
I think that I may be changed by PBI “Explicit Browser Support #1682”
May it has something to do with change in client\configuration\webpack\webpack.config.shared.js
line 10 were publicPath
is now set to ‘/’
Expected behavior It would be fine to have the old behaviour. Another solution would be to make it possible to set an basepath.
Screenshots
Version (please complete the following information):
- Browser : Chrome
- Version: release 16.0.2
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Apache server - Unable to locate CSS and JS files
It seems you only redirect /lab , but the static files are not in /lab , they are in /static . So you...
Read more >VIP button does not appear in cellxgene · Issue #21 - GitHub
I'm accessing cellxgene, that I run on a VM, by using a reverse proxy (nginx) in case that is of any relevance.
Read more >Solved: is there an Apigee/Edge Proxy to host static HTML
Solved: Does Apigee Edge provide a proxy that can host static HTML/CSS/JS pages? ... You can use a pass through proxy to you...
Read more >CSS and Script files not found behind Apache reverse proxy
I configured Apache2 reverse proxy and now none of the CSS, img, and JS resources are found, I simply get the plain unadorned...
Read more >CZ CELLxGENE Discover - Cellular Visualization Tool
Chan Zuckerberg CELLxGENE Discover is a tool to find, download, and visually explore curated and standardized single-cell biology datasets.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @CoRlfKrl, the fix for this issue has been completed so will close this PR. Watch out for the patch release next week! Thank you again for letting us know about this bug!
@seve can you help take over the fix and rolling out the update please?
I believe the fix is just changing
client/configuration/webpack/webpack.config.shared.js:10
fromconst publicPath = "/";
toconst publicPath = "";
Thanks so much!
CC: @maniarathi