diff --git a/README.md b/README.md index 9a7ac18c..525aa8ac 100644 --- a/README.md +++ b/README.md @@ -587,6 +587,15 @@ Setting this parameter to `true` will force Cronicle's Web UI to connect to the This property only takes effect if [web_direct_connect](#web_direct_connect) is also set to `true`. +### custom_live_log_socket_url +This is an fancy configuration to provide a url for web socket which live log needs to connect. +Notice this is useful for single-master system behind an LB. +Socket URL should be like this, e.g. +```js +"custom_live_log_socket_url": "http://127.0.0.1:8888" +``` +Feel free to change the ip and the port. + ### socket_io_transports This is an advanced configuration property that you will probably never need to worry about. This allows you to customize the [socket.io transports](https://socket.io/docs/client-api/) used to connect to the server for real-time updates. By default, this property is set internally to an array containing the `websocket` transport only, e.g. diff --git a/htdocs/css/style.css b/htdocs/css/style.css index 4c6945da..372e874e 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -9,7 +9,7 @@ div.container { position: relative; width: 40px; height: 40px; - background: url(/images/clock-bkgnd.png) no-repeat center center; + background: url(../images/clock-bkgnd.png) no-repeat center center; background-size: 36px 36px; } @@ -35,15 +35,15 @@ div.container { } #d_header_clock_hour { - background-image: url(/images/clock-hour.png); + background-image: url(../images/clock-hour.png); } #d_header_clock_minute { - background-image: url(/images/clock-minute.png); + background-image: url(../images/clock-minute.png); } #d_header_clock_second { - background-image: url(/images/clock-second.png); + background-image: url(../images/clock-second.png); } #d_tab_time { diff --git a/htdocs/index-dev.html b/htdocs/index-dev.html index 1b5d7898..2c3bae69 100755 --- a/htdocs/index-dev.html +++ b/htdocs/index-dev.html @@ -6,7 +6,7 @@