Revert "add /dashboard route as an alias for /"
This reverts commit a1880a152c
.
Didn't help firefox problem.
This commit is contained in:
parent
6f8693c59a
commit
98bd6e1f89
2 changed files with 3 additions and 7 deletions
|
@ -83,12 +83,9 @@ getDashboardR = ifM inFirstRun
|
||||||
, page "" (Just DashBoard) $ dashboard True
|
, page "" (Just DashBoard) $ dashboard True
|
||||||
)
|
)
|
||||||
|
|
||||||
getMainR :: Handler Html
|
|
||||||
getMainR = redirect DashboardR
|
|
||||||
|
|
||||||
{- Used to test if the webapp is running. -}
|
{- Used to test if the webapp is running. -}
|
||||||
headMainR :: Handler ()
|
headDashboardR :: Handler ()
|
||||||
headMainR = noop
|
headDashboardR = noop
|
||||||
|
|
||||||
{- Same as DashboardR, except no autorefresh at all (and no noscript warning). -}
|
{- Same as DashboardR, except no autorefresh at all (and no noscript warning). -}
|
||||||
getNoScriptR :: Handler Html
|
getNoScriptR :: Handler Html
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/ MainR GET HEAD
|
/ DashboardR GET HEAD
|
||||||
/dashboard DashboardR GET
|
|
||||||
|
|
||||||
/noscript NoScriptR GET
|
/noscript NoScriptR GET
|
||||||
/noscript/auto NoScriptAutoR GET
|
/noscript/auto NoScriptAutoR GET
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue