aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvulonkaaz <7442677+vulonkaaz@users.noreply.github.com>2025-05-28 01:29:05 +0200
committervulonkaaz <7442677+vulonkaaz@users.noreply.github.com>2025-05-28 01:29:05 +0200
commit191282d859c82924289dadc8bc47b78acac23683 (patch)
treefd1c569f8598110f9ead9f1263d2053cf7099949
parent31fce5d3a5e6ea1e089d4ad73d6264b2a2991374 (diff)
fix ip formatting
-rw-r--r--controllers/post.go2
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{