Update Lithiio

Removed unused json lib, preformed suggested update for CombineURL.
This commit is contained in:
Justin 2016-05-17 14:39:56 -07:00
parent 8374ecbc03
commit b2e3110543

View file

@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
// Credits: https://github.com/lithium720
using Newtonsoft.Json;
using ShareX.HelpersLib;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
@ -76,7 +76,7 @@ public override UploadResult Upload(Stream stream, string fileName)
if (result.IsSuccess)
{
result.URL = Config.UploadURL + result.Response;
result.URL = URLHelpers.CombineURL(Config.UploadURL, result.Response);
}
return result;
@ -99,4 +99,4 @@ public class LithiioSettings
public string UserAPIKey { get; set; } = string.Empty;
public string UploadURL { get; set; } = "https://i.lithi.io/";
}
}
}