huandu opened a new issue, #29965:
URL: https://github.com/apache/superset/issues/29965

   ### Bug description
   
   Per document on STATIC_ASSETS_PREFIX in config, it should be the prefix of 
all static assets URLs. However, it's not true for most of JS and CSS files. I 
believe it's a bug in `superset/extensions/__init__.py`. The 
`UIManifestProcessor.get_manifest` method should add STATIC_ASSETS_PREFIX to 
all assets listed in manifest.
   
   ### How to reproduce the bug
   
   1. Set STATIC_ASSETS_PREFIX to a custom host and restart Superset server.
   2. Reload Superset website and monitor network traffic in DevTools. We can 
see that most of JS and CSS files are not downloaded from the host we just set 
in step 1.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to