You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "hainenber (via GitHub)" <gi...@apache.org> on 2025/02/27 02:09:59 UTC

Re: [I] Random "/favicon.ico 404 NOT FOUND" error only when login in [superset]

hainenber commented on issue #31025:
URL: https://github.com/apache/superset/issues/31025#issuecomment-2686632018

   I reckon you can remove this part as [`STATIC_ASSETS_PREFIX` option](https://github.com/apache/superset/blob/master/superset/config.py#L1697-L1699) might be not yet configured on your side. Fetching a non-existent `/favicon.ico` would yield 404 as expected.
   
   
   ```diff
   FAVICONS = [
         {"href": "/static/assets/images/favicon.png"},
   -      {
   -        "href": "/favicon.ico",  ## This is not accessible although the file exists this is I belive because flask doesn't expose anything but the what is under `/static` which in the container is under `/app/superset/static`
   -        "rel": "icon",
   -        "type": "image/x-icon",
   -      },
         {
           "href": "/static/favicon.ico", ## This accessible through: `https://<DOMAIN_NAME>//static/favicon.png`
           "rel": "icon",
           "type": "image/x-icon",
         }
       ]
   ```


-- 
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-unsubscribe@superset.apache.org

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


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