From 68ded2c9e4cf253c29af558991911c0f6e1de640 Mon Sep 17 00:00:00 2001 From: Julian Gruber Date: Mon, 31 Jul 2023 18:32:22 +0200 Subject: [PATCH] fly.io has issues with this header --- httpipfs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpipfs.go b/httpipfs.go index 7a2fc36..283d7a6 100644 --- a/httpipfs.go +++ b/httpipfs.go @@ -149,7 +149,7 @@ func (hi *HttpIpfs) ServeHTTP(res http.ResponseWriter, req *http.Request) { res.Header().Set( "X-Attestation", fmt.Sprintf( - "%s.%s", + "\"%s.%s\"", base64.StdEncoding.EncodeToString(b), base64.StdEncoding.EncodeToString(sigSigned), ),