Closed c-goosen closed 5 years ago
Not sure if this is only related to changes in Sanic 19.6.3, but if no proxy exists, request.remote_addr will fail.
Fix checks if attr is set, otherwise uses request.ip
@bohea
Excellent, thank you.
Not sure if this is only related to changes in Sanic 19.6.3, but if no proxy exists, request.remote_addr will fail.
Fix checks if attr is set, otherwise uses request.ip