Skip to content

Commit

Permalink
Fully qualify allowed origin
Browse files Browse the repository at this point in the history
  • Loading branch information
Regenhardt committed Mar 9, 2023
1 parent d36223b commit 0727dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BlazorWasmDemo/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
options.ServerDomain = origin;
options.ServerName = "FIDO2 Server";
options.Origins = new HashSet<string> { origin };
options.Origins = new HashSet<string> { $"https://{origin}" };
options.TimestampDriftTolerance = 1000;
});
builder.Services.AddSwaggerGen(opts =>
Expand Down

0 comments on commit 0727dd4

Please sign in to comment.