散景:更改 /static 的端点

Bokeh: change the endpoints for /static

有没有办法更改在 Bokeh 中提供静态 JS 文件的端点?

您可以 运行 带有选项 --prefix <base_path>bokeh serve 命令。这会将 <base_path> 放在向 Bokeh (Torando) Web 服务器请求的每个资源后面,这也适用于 /static 资源。

在这里您可以找到 official Bokeh documentation page

亲切的问候