[FE] Cellxgene FE serves static assets from `/static/cellxgene/*`
See original GitHub issueGiven the brand merge, both cellxgene and DP will now live on cellxgene.cziscience.com
.
To avoid static assets from DP and cellxgene being accidentally served from the same route, we need to do the following:
- Change cellxgene’s Webpack config to serve all static files (fonts, images, js, css, etc.) from
/static/*
to/static/cellxgene/*
E.g.,
Current:
-
https://cellxgene.cziscience.com/static/main-90d61520926ca4c19056.js
-
https://cellxgene.cziscience.com/static/assets/RobotoCondensed-Regular-db6d916952fb988edac1e531d47ff83a.ttf
New:
-
https://cellxgene.cziscience.com/static/cellxgene/main-90d61520926ca4c19056.js
-
https://cellxgene.cziscience.com/static/cellxgene/assets/RobotoCondensed-Regular-db6d916952fb988edac1e531d47ff83a.ttf
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
CELL×GENE | Documentation - CZ CELLxGENE
CZ CELLxGENE Annotate is intended to be used by researchers on their local machines. In cases where collaborators are not comfortable installing Annotate,...
Read more >bin/build-client errors out in webpack · Issue #150 - GitHub
I did a clean install (cloned master) following the instructions on the new cellxgene README. It fails to build the client on Ubuntu...
Read more >CellexalVR: A virtual reality platform to visualize and analyze ...
Thevelocityofeachcellisshownasan animated process where an ... Corvo: Visualizing CellxGene Single-Cell Datasets in Virtual Reality.
Read more >Simple Index
acabim-common-services-cas ... add-service · add-soham · add-static-resources-plugin ... amsterdam-airflow-postgres-files-operator
Read more >Index of /pypi/json/
... 16:06 8964 auto-esn 16-Dec-2022 00:04 28678 auto-fe 27-Oct-2022 ... 08:09 305145 aws-prototyping-sdk-static-website 24-Dec-2022 08:09 ...
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
@seve I think we can still work on this one, because the solution for bug https://github.com/chanzuckerberg/cellxgene/issues/1783 would apply regardless of the static asset path we choose 😄
Thank you!
@seve ACTUALLY, plot change. With the new solution that Bruce provides, we can close #1762 now.
But #1783 will still be a blocker for https://github.com/chanzuckerberg/single-cell-infra/pull/144!