summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
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)