Fixed websockets connection issue (default resource was incorrect).