Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
watzon committed Jan 7, 2024
1 parent 900d78a commit 44b750d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controllers/paste_controller.cr
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ module Paste69
user_agent = req.headers["User-Agent"]?
remote_addr = req.headers["Remote-Addr"]?

pp req

if !remote_addr
addr = req.request.remote_address
if addr.is_a?(Socket::IPAddress)
Expand Down

0 comments on commit 44b750d

Please sign in to comment.