diff --git a/src/router.ps1 b/src/router.ps1 index 66a42e7..3b31bbd 100644 --- a/src/router.ps1 +++ b/src/router.ps1 @@ -25,7 +25,8 @@ function Dispatch-Request { switch -Regex ($path) { '^$' { - return Send-RemoteAsset -Context $Context -Url $Script:SamyHtmlUrl -ContentType 'text/html; charset=utf-8' + $html = Get-UIHtml -Page 'onboard' + return Send-HTML $Context $html } '^samy\.js$' {