mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
WebSockets: add some TO DO comments
This commit is contained in:
parent
8b65b0a961
commit
c362605b49
3 changed files with 8 additions and 1 deletions
|
|
@ -72,6 +72,9 @@ WebsocketsServer::WebsocketsServer (ArdourSurface::ArdourWebsockets& surface)
|
|||
_lws_mnt_root.origin = _resources.index_dir ().c_str ();
|
||||
_lws_mnt_root.origin_protocol = LWSMPRO_FILE;
|
||||
_lws_mnt_root.def = "index.html";
|
||||
/* do not send caching headers if NDEBUG is set, this is useful while
|
||||
* developing web surfaces. Ideally this would exist as a configurable
|
||||
* option in the TO DO surface settings UI */
|
||||
#ifdef NDEBUG
|
||||
_lws_mnt_root.cache_max_age = 3600;
|
||||
_lws_mnt_root.cache_reusable = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue