diff options
| author | Michael <[email protected]> | 2017-05-08 11:31:20 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-05-08 11:31:29 -0400 |
| commit | 75ed7e9215ba88358d9b838dd82fa3841f78ae5a (patch) | |
| tree | e976fbb38056e38fcd8393c3efcfe3db12f3c4b0 /ShiftOS.Server | |
| parent | 4a5db39ea7c0b9be342261ab416dbb5edf50b2ce (diff) | |
| download | shiftos_thereturn-75ed7e9215ba88358d9b838dd82fa3841f78ae5a.tar.gz shiftos_thereturn-75ed7e9215ba88358d9b838dd82fa3841f78ae5a.tar.bz2 shiftos_thereturn-75ed7e9215ba88358d9b838dd82fa3841f78ae5a.zip | |
Fix softlocks on pre-user OOBE.
Diffstat (limited to 'ShiftOS.Server')
| -rw-r--r-- | ShiftOS.Server/Program.cs | 1 | ||||
| -rw-r--r-- | ShiftOS.Server/SaveManager.cs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ShiftOS.Server/Program.cs b/ShiftOS.Server/Program.cs index 97c8a66..75af56f 100644 --- a/ShiftOS.Server/Program.cs +++ b/ShiftOS.Server/Program.cs @@ -86,6 +86,7 @@ namespace ShiftOS.Server /// <param name="args">The command-line arguments.</param> public static void Main(string[] args) { + UserConfig.Get(); System.Timers.Timer tmr = new System.Timers.Timer(5000); tmr.Elapsed += (o, a) => { 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(); } |
