Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Css and Js are referenced by /static which makes it impossible to use cellxgene behind a proxy

See original GitHub issue

Describe 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.


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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

maniarathicommented, Aug 22, 2020

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!

tihuancommented, Aug 20, 2020

@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 from const publicPath = "/"; to const publicPath = "";

Thanks so much!

CC: @maniarathi

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found