LiveReload Integration


#1

Hi. I have a problem with integrating LiveReload module with UB server. It does not connect to websocket of livereload. I tried bind server to + or 127.0.0.1 or network interface IP. Now i have this error…Thanks in advance.


#2

This is because method what generate a index.html page see sources in @unitybase/adminui-reg add a Content Security Policy what prevent access from application to any external URL’s. To solve your problem we disable CSP header adding for DEVELOPER mode (index.html-dev) - see this commit

Please, update @unitybase/adminui-reg@4.1.8


#3

Thanks for the help, now LiveReload working correctly.