revert c0f3a80742
All checks were successful
continuous-integration/drone/push Build is passing

revert shortified link port fix
This commit is contained in:
2026-02-21 16:39:42 +00:00
parent 57e08a1c1a
commit 4b8d776bd5
2 changed files with 5 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ func (h *LinksHandler) CreateLink(c *gin.Context) {
return
}
address := fmt.Sprintf("http://%v/r/%v", h.host, id)
address := fmt.Sprintf("http://%v:%s/r/%v", h.host, h.port, id)
response := CreateLinkResponse{
Status: "success",