Skip to content

Commit

Permalink
Update to v0.1.0-rc2-hotfix6 (#86)
Browse files Browse the repository at this point in the history
* Update. Force use https protocol for skins and cloaks
  • Loading branch information
GamerVII-NET authored Oct 17, 2024
1 parent a6cc70f commit 3bd5ff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Gml.Web.Api/Core/Handlers/MinecraftHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static async Task<IResult> HasJoined(HttpContext context, IGmlManager gml
Properties = []
};

var address = $"{context.Request.Scheme}://{context.Request.Host.Value}";
var address = $"https://{context.Request.Host.Value}";

var texture = new PropertyTextures
{
Expand Down Expand Up @@ -152,7 +152,7 @@ public static async Task<IResult> GetProfile(HttpContext context, IGmlManager gm
Properties = []
};

var address = $"{context.Request.Scheme}://{context.Request.Host.Value}";
var address = $"https://{context.Request.Host.Value}";

var texture = new PropertyTextures
{
Expand Down

0 comments on commit 3bd5ff8

Please sign in to comment.