diff --git a/main.go b/main.go index 538823c..b386ca2 100644 --- a/main.go +++ b/main.go @@ -59,8 +59,8 @@ func main() { body, writer := io.Pipe() - // TODO: URL - req, err := http.NewRequest(http.MethodPost, "ipfs.narwhal-frog.ts.net", body) + url := fmt.Sprintf("http://%v:%v/api/v0/add", ipfsHost, ipfsPort) + req, err := http.NewRequest(http.MethodPost, url, body) if err != nil { githubactions.Fatalf("Unable to create request: %v", err.Error()) }