fix(run_websocket.py): remote IP get bug
when use nginx self.request.headers.get(X-Real-IP) will get real remote IP, self.request.remote_ip will get 127.0.0.1 ; if not it will git null, so need to use self.request.remote_ip for get the ip
Showing
Please
register
or
sign in
to comment