fix search routing.
WebSocket config.