Skip to content
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 76294b4
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 126 deletions.
@@ -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 about how customized files appear on GitHub.

0 comments on commit 76294b4

Please sign in to comment.