Hotifx: redirect custom GitHub Pages URL

json-docs
Bram 2024-01-24 18:29:22 +01:00
parent db0f0ead7a
commit 8a5861e251
2 changed files with 16 additions and 0 deletions

View File

@ -49,6 +49,8 @@ routeParser =
P.oneOf
[ P.top
|> P.map Home
, P.s "elm-matrix-sdk-beta"
|> P.map Home
, P.s "home"
|> P.map Home
, P.s "index"
@ -56,6 +58,9 @@ routeParser =
, P.s "dev"
</> P.s "Main.elm"
|> P.map Home
, P.s "elm-matrix-sdk-beta"
</> P.top
|> P.map Home
, P.s "object"
</> P.string
|> P.map ViewObject

View File

@ -6021,6 +6021,10 @@ var $author$project$Route$routeParser = $elm$url$Url$Parser$oneOf(
A2(
$elm$url$Url$Parser$map,
$author$project$Route$Home,
$elm$url$Url$Parser$s('elm-matrix-sdk-beta')),
A2(
$elm$url$Url$Parser$map,
$author$project$Route$Home,
$elm$url$Url$Parser$s('home')),
A2(
$elm$url$Url$Parser$map,
@ -6035,6 +6039,13 @@ var $author$project$Route$routeParser = $elm$url$Url$Parser$oneOf(
$elm$url$Url$Parser$s('Main.elm'))),
A2(
$elm$url$Url$Parser$map,
$author$project$Route$Home,
A2(
$elm$url$Url$Parser$slash,
$elm$url$Url$Parser$s('elm-matrix-sdk-beta'),
$elm$url$Url$Parser$top)),
A2(
$elm$url$Url$Parser$map,
$author$project$Route$ViewObject,
A2(
$elm$url$Url$Parser$slash,