diff options
author | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2025-05-28 01:29:05 +0200 |
---|---|---|
committer | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2025-05-28 01:29:05 +0200 |
commit | 191282d859c82924289dadc8bc47b78acac23683 (patch) | |
tree | fd1c569f8598110f9ead9f1263d2053cf7099949 /controllers/post.go | |
parent | 31fce5d3a5e6ea1e089d4ad73d6264b2a2991374 (diff) |
fix ip formatting
Diffstat (limited to 'controllers/post.go')
-rw-r--r-- | controllers/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/post.go b/controllers/post.go index d6698e3..ebbefc9 100644 --- a/controllers/post.go +++ b/controllers/post.go @@ -31,7 +31,7 @@ func Publish(c *fiber.Ctx) error { thread.Int32 = int32(parsed) thread.Valid = true } - ip := c.IP()+strings.Join(c.IPs()," ") + ip := c.IP()+" "+strings.Join(c.IPs()," ") fixedPic, err := themagicpipe.DataURLConverter(picture) if err != nil { return c.JSON(fiber.Map{ |