Skip to content

Commit

Permalink
CutOffBootVer serverside support
Browse files Browse the repository at this point in the history
  • Loading branch information
goaaats committed Mar 7, 2024
1 parent 3977aa1 commit f22f265
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion XLWebServices/Controllers/LauncherController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ public class Lease
public string? Message { get; set; }

public string FrontierUrl { get; set; }

public string? CutOffBootver { get; set; }

//public string FrontierOrigin { get; set; }

Expand Down Expand Up @@ -156,7 +158,8 @@ public async Task<IActionResult> GetLease()
await _redis.Get()!.IncrementCount(RedisKeyUniqueInstalls);
}

lease.FrontierUrl = _configuration["LauncherClientConfig:FrontierUrl"];
lease.FrontierUrl = _configuration["LauncherClientConfig:FrontierUrl"] ?? throw new Exception("No frontier URL in config!");
lease.CutOffBootver = _configuration["LauncherClientConfig:CutOffBootVer"];
//lease.FrontierOrigin = _configuration["LauncherClientConfig:FrontierOrigin"];
lease.Flags = LeaseFeatureFlags.None;

Expand Down

0 comments on commit f22f265

Please sign in to comment.