aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Server/SaveManager.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-08 11:31:20 -0400
committerMichael <[email protected]>2017-05-08 11:31:29 -0400
commit75ed7e9215ba88358d9b838dd82fa3841f78ae5a (patch)
treee976fbb38056e38fcd8393c3efcfe3db12f3c4b0 /ShiftOS.Server/SaveManager.cs
parent4a5db39ea7c0b9be342261ab416dbb5edf50b2ce (diff)
downloadshiftos_thereturn-75ed7e9215ba88358d9b838dd82fa3841f78ae5a.tar.gz
shiftos_thereturn-75ed7e9215ba88358d9b838dd82fa3841f78ae5a.tar.bz2
shiftos_thereturn-75ed7e9215ba88358d9b838dd82fa3841f78ae5a.zip
Fix softlocks on pre-user OOBE.
Diffstat (limited to 'ShiftOS.Server/SaveManager.cs')
-rw-r--r--ShiftOS.Server/SaveManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.Server/SaveManager.cs b/ShiftOS.Server/SaveManager.cs
index 63aa2bf..d81a1a7 100644
--- a/ShiftOS.Server/SaveManager.cs
+++ b/ShiftOS.Server/SaveManager.cs
@@ -189,7 +189,7 @@ namespace ShiftOS.Server
//Update the shiftos website with the user's codepoints.
if (!string.IsNullOrWhiteSpace(sav.UniteAuthToken))
{
- var wreq = WebRequest.Create("http://getshiftos.ml/API/SetCodepoints/" + sav.Codepoints.ToString());
+ var wreq = WebRequest.Create(UserConfig.Get().UniteUrl + "/API/SetCodepoints/" + sav.Codepoints.ToString());
wreq.Headers.Add("Authentication: Token " + sav.UniteAuthToken);
wreq.GetResponse();
}