Skip to content

Commit 6586172

Browse files
committed
Fixes issue with trailing slash
1 parent 4bd0b24 commit 6586172

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Heroesprofile.Uploader.Common/Uploader.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public async Task<UploadStatus> Upload(Replay replay_results, string fingerprint
6666
try {
6767
string response;
6868
using (var client = new WebClient()) {
69-
var bytes = await client.UploadFileTaskAsync($"{HeroesProfileApiEndpoint}/upload/heroesprofile/desktop/?fingerprint={fingerprint}&version={assemblyVersion}", file);
69+
var bytes = await client.UploadFileTaskAsync($"{HeroesProfileApiEndpoint}/upload/heroesprofile/desktop?fingerprint={fingerprint}&version={assemblyVersion}", file);
7070
response = Encoding.UTF8.GetString(bytes);
7171
}
7272

Heroesprofile.Uploader.Windows/Heroesprofile.Uploader.Windows.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,4 +259,4 @@
259259
<Move SourceFiles="../Releases/Setup.exe" DestinationFiles="../Releases/HotsApiUploaderSetup.exe" />
260260
<Message Importance="High" Text="Successfully created setup package" />
261261
</Target>
262-
</Project>
262+
</Project>

Heroesprofile.Uploader.Windows/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@
5252
// You can specify all the values or you can default the Build and Revision Numbers
5353
// by using the '*' as shown below:
5454
// [assembly: AssemblyVersion("1.0.*")]
55-
[assembly: AssemblyVersion("2.4.0")]
56-
[assembly: AssemblyFileVersion("2.4.0")]
55+
[assembly: AssemblyVersion("2.4.1")]
56+
[assembly: AssemblyFileVersion("2.4.1")]
5757
[assembly: AssemblyInformationalVersion("1.0.0")]

0 commit comments

Comments
 (0)