A quick look makes me think that a prefix for the static handler is not configurable. But it might not be to difficult to add support for that, can you make a feature request issue on GitHub and I will schedule it for 0.12.5
In the immediate term I am not sure what the best option is. The Static Handler is set up here:
If you don't mind patching your bokeh install, you could possibly just update that path there.
Alternatively, you could possibly add a second StaticHandler at a different path, by using the "extra_patterns" argument, but to do that you will need to start the Server programmatically, as shown here:
Am Dienstag, 10. Januar 2017 00:53:51 UTC+1 schrieb Bryan Van de ven:
A quick look makes me think that a prefix for the static handler is not configurable. But it might not be to difficult to add support for that, can you make a feature request issue on GitHub and I will schedule it for 0.12.5
In the immediate term I am not sure what the best option is. The Static Handler is set up here:
If you don’t mind patching your bokeh install, you could possibly just update that path there.
Alternatively, you could possibly add a second StaticHandler at a different path, by using the “extra_patterns” argument, but to do that you will need to start the Server programmatically, as shown here: