From b732730c03ba25fc8fb847eda704ae0d2a07683a Mon Sep 17 00:00:00 2001 From: abs3nt Date: Wed, 6 Nov 2024 19:50:15 -0800 Subject: [PATCH] remove --- src/sender/sender.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sender/sender.go b/src/sender/sender.go index 70c3db6..95ba662 100644 --- a/src/sender/sender.go +++ b/src/sender/sender.go @@ -107,6 +107,8 @@ func prepareDirectoryPayload(baseURL, directory string) (string, string, error) return "", "", fmt.Errorf("no files with supported extensions to serve") } + strings.TrimSuffix(payloadBuilder.String(), "\n") + return payloadBuilder.String(), directory, nil }