mirror of
https://github.com/penpot/penpot.git
synced 2025-01-11 01:10:28 -05:00
🐛 Normalize return value from parse-client-ip function
This commit is contained in:
parent
cf2de3cfac
commit
73f1418c95
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
[request]
|
||||
(or (some-> (yrq/get-header request "x-forwarded-for") (str/split ",") first)
|
||||
(yrq/get-header request "x-real-ip")
|
||||
(yrq/remote-addr request)))
|
||||
(some-> (yrq/remote-addr request) str)))
|
||||
|
||||
(defn extract-utm-params
|
||||
"Extracts additional data from params and namespace them under
|
||||
|
|
Loading…
Reference in a new issue