If your instance of warrior is being proxied with ssl the web interface
will break because this script expects to create a websocket over http.
This can be fixed by using window.location.protocol which will return
what protocol you are visiting the web interface(http or https)
If your instance of warrior is being proxied with ssl the web interface will break because this script expects to create a websocket over http. This can be fixed by using window.location.protocol which will return what protocol you are visiting the web interface(http or https)