Open VBPROGER opened 2 years ago
fr lolz
Yea bc this repo is a year old and the flask module updated . Also this repo is pretty shitty and you can find a better one if you do a little bit of looking . TLDR I’m too lazy to fix this
On Sat, Mar 12, 2022 at 1:26 PM xeny @.***> wrote:
fr lolz
— Reply to this email directly, view it on GitHub https://github.com/ProgrammingMyLife/flask-iplogger/issues/1#issuecomment-1065965363, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASAOSJKMYLNJAK26KYFEVFDU7UDYXANCNFSM5QSAGRUA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
return jsonify({'ip': request.environ.get('HTTP_X_FORWARDED_FOR', request.remote_addr) }), 200
works fine
Yes, but it returns local IP again.
oh lol just make it print all the headers and see if theres ur ip in any of them
It returns local IP; not public.