mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -13,5 +13,5 @@ func ClientIP(c *gin.Context) (ip string) {
|
||||
|
||||
// UserAgent returns the user agent from the request context or an empty string if it is unknown.
|
||||
func UserAgent(c *gin.Context) string {
|
||||
return header.UserAgent(c)
|
||||
return header.ClientUserAgent(c)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user