mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
add comment
This commit is contained in:
parent
e77f8c1c65
commit
b82129af00
@ -119,8 +119,9 @@ namespace Bloxstrap.Helpers
|
||||
{
|
||||
string channelUrl = BuildBaseUrl(channel);
|
||||
|
||||
HttpResponseMessage pkgMessage = await Program.HttpClient.GetAsync($"{channelUrl}/{clientVersion.VersionGuid}-rbxPkgManifest.txt");
|
||||
if (pkgMessage.Content.Headers.TryGetValues("last-modified", out var values))
|
||||
// get an approximate deploy time from rbxpkgmanifest's last modified date
|
||||
HttpResponseMessage pkgResponse = await Program.HttpClient.GetAsync($"{channelUrl}/{clientVersion.VersionGuid}-rbxPkgManifest.txt");
|
||||
if (pkgResponse.Content.Headers.TryGetValues("last-modified", out var values))
|
||||
{
|
||||
string lastModified = values.First();
|
||||
clientVersion.Timestamp = DateTime.Parse(lastModified);
|
||||
|
Loading…
Reference in New Issue
Block a user