Panel: Remove panel.serve template dependency on panel.holoviz.org

Created on 22 Mar 2020  路  2Comments  路  Source: holoviz/panel

My Pain

When https://panel.holoviz.org/ is down (like now https://github.com/holoviz/panel/issues/1174)

image

the template used by panel.serve does not show the Panel logo

image

<img src="http://panel.pyviz.org/_static/logo_stacked.png" width="120">

Solution

Change the link of the image to a more robust cdn.

bug

All 2 comments

What if we changed the url to https://raw.githubusercontent.com/holoviz/panel/master/doc/_static/logo_stacked.png ? Is github's uptime sufficient? If not I'm not sure where else to host the image that would be more reliable.

I would just serve it as a static resource by panel.serve(). If the logo is small enough, it could be embedded as a data URL. Maybe those options were rejected earlier.

Was this page helpful?
0 / 5 - 0 ratings