mirror of
https://github.com/penpot/penpot.git
synced 2026-05-07 00:58:48 +00:00
🐛 Normalize return value from parse-client-ip function
This commit is contained in:
parent
cf2de3cfac
commit
73f1418c95
@ -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…
x
Reference in New Issue
Block a user