Skip to content

Commit 38299c3

Browse files
authored
Move the demo website to its own domain (#623)
1 parent 3d69e95 commit 38299c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Demo/Helpers/RouteHelperExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ public class RedirectToWwwIfPasswordlessDomainRule : IRule
1717
public virtual void ApplyRule(RewriteContext context)
1818
{
1919
var req = context.HttpContext.Request;
20-
if (req.Host.Host is "passwordless.dev" or "fido2.azurewebsites.net")
20+
if (req.Host.Host is "fido2.azurewebsites.net")
2121
{
22-
var wwwHost = new HostString("www.passwordless.dev");
22+
var wwwHost = new HostString("fido2.andersaberg.com");
2323
var newUrl = UriHelper.BuildAbsolute("https", wwwHost, req.PathBase, req.Path, req.QueryString);
2424
var response = context.HttpContext.Response;
2525
response.StatusCode = 301;

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ dotnet add package Fido2.BlazorWebAssembly
4949
5050
### Demo
5151

52-
- **Library website**: https://fido2-net-lib.passwordless.dev
52+
- **Library website**: https://fido2.andersaberg.com
5353
- [Code examples](#examples)
5454

5555
## What is FIDO2?

0 commit comments

Comments
 (0)