Skip to content

Commit b0f0377

Browse files
author
Martin Nielsen
committed
Patch 1.2.1 - link is now /user/%publicToken%
1 parent 3de703d commit b0f0377

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

OverwatchTracker/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Program
2121
static void Main()
2222
{
2323
Vars.initalize = new Initalize(
24-
version: "1.2.0",
24+
version: "1.2.1",
2525
host: "betteroverwatch.com",
2626
gitHubHost: "https://api.github.com/repos/MartinNielsenDev/OverwatchTracker/releases/latest"
2727
);

OverwatchTracker/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.2.0.0")]
36-
[assembly: AssemblyFileVersion("1.2.0.0")]
35+
[assembly: AssemblyVersion("1.2.1.0")]
36+
[assembly: AssemblyFileVersion("1.2.1.0")]

OverwatchTracker/Server.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public static async Task StartLocalAuthServer()
207207
Program.authorizeForm.Close();
208208
}
209209
Settings.Save();
210-
buffer = Encoding.UTF8.GetBytes($"<html>success<meta http-equiv=\"refresh\" content=\"0; url = http://betteroverwatch.com/{publicToken}?auth_success=1\" /></html>");
210+
buffer = Encoding.UTF8.GetBytes($"<html>success<meta http-equiv=\"refresh\" content=\"0; url = http://betteroverwatch.com/user/{publicToken}?auth_success=1\" /></html>");
211211
}
212212
else
213213
{

OverwatchTracker/TrayMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private void OpenMatchHistory(object sender, EventArgs e)
152152
{
153153
if (!Vars.settings.publicToken.Equals(String.Empty))
154154
{
155-
Process.Start("http://" + Vars.initalize.Host + "/" + Vars.settings.publicToken);
155+
Process.Start("http://" + Vars.initalize.Host + "/user/" + Vars.settings.publicToken);
156156
}
157157
}
158158
private async void Login(object sender, EventArgs e)

0 commit comments

Comments
 (0)