Permalink
Browse files

Merge pull request #1738 from lithium720/master

Lithiio - Removed anonymous upload support
  • Loading branch information...
Jaex committed Jul 23, 2016
2 parents e6563f9 + f740fd9 commit 76294b41ea34cf3f340292fd68eff969522f128d
@@ -42,7 +42,7 @@ public class LithiioFileUploaderService : FileUploaderService
public override bool CheckConfig(UploadersConfig config)
{
return config.LithiioSettings != null;
return config.LithiioSettings != null && !string.IsNullOrEmpty(config.LithiioSettings.UserAPIKey);
}
public override GenericUploader CreateUploader(UploadersConfig config, TaskReferenceHelper taskInfo)
@@ -62,7 +62,7 @@ public Lithiio(LithiioSettings config)
Config = config;
}
private const string uploadUrl = "http://api.lithi.io/v2/";
private const string uploadUrl = "http://api.lithi.io/v3/";
public static string[] UploadURLs = new string[] { "https://i.lithi.io/", "https://lithi.io/i/", "https://i.mugi.io/", "https://mugi.io/i/" };

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 76294b4

Please sign in to comment.