Solved problem with websockets relative url's