From 191282d859c82924289dadc8bc47b78acac23683 Mon Sep 17 00:00:00 2001 From: vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> Date: Wed, 28 May 2025 01:29:05 +0200 Subject: fix ip formatting --- controllers/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{ -- cgit v1.2.3