Update src/router.ps1
This commit is contained in:
@@ -25,7 +25,8 @@ function Dispatch-Request {
|
|||||||
switch -Regex ($path) {
|
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$' {
|
'^samy\.js$' {
|
||||||
|
|||||||
Reference in New Issue
Block a user