From b09d2de941b65956eb7c748e3ce44ff568d4c2af Mon Sep 17 00:00:00 2001
From: tjp <tjp@ctrl-c.club>
Date: Thu, 4 Jan 2024 12:49:54 -0700
Subject: titan support in the client.Upload() method

---
 client.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client.go b/client.go
index 7e792b7..74fe04c 100644
--- a/client.go
+++ b/client.go
@@ -105,7 +105,7 @@ func (c Client) Upload(url string, contents io.Reader) (*Response, error) {
 		return nil, err
 	}
 	switch u.Scheme {
-	case "spartan", "http", "https":
+	case "titan", "spartan", "http", "https":
 		return c.RoundTrip(&types.Request{URL: u, Meta: contents})
 	default:
 		return nil, fmt.Errorf("upload not supported on %s", u.Scheme)
-- 
cgit v1.2.3