From 8a5861e25116eceb51ce4296afdc567188ac2554 Mon Sep 17 00:00:00 2001 From: Bram Date: Wed, 24 Jan 2024 18:29:22 +0100 Subject: [PATCH] Hotifx: redirect custom GitHub Pages URL --- dev/Route.elm | 5 +++++ index.html | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/dev/Route.elm b/dev/Route.elm index 708b08b..b8d866b 100644 --- a/dev/Route.elm +++ b/dev/Route.elm @@ -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 diff --git a/index.html b/index.html index 1410bfc..9fdf05b 100644 --- a/index.html +++ b/index.html @@ -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,