Streamline routing

- put openapi doc behind `api/doc` instead of `app/doc`
- don't require `index.html` for the webapp
This commit is contained in:
Eike Kettner
2019-12-30 21:59:06 +01:00
parent fc3e22e399
commit b15b9cc217
8 changed files with 33 additions and 21 deletions

View File

@ -196,7 +196,7 @@ urlInfoMessage flags model =
, dd []
[ let
url =
flags.config.baseUrl ++ "/app/index.html#/upload/" ++ model.source.id
flags.config.baseUrl ++ "/app#/upload/" ++ model.source.id
in
a [ href url, target "_blank" ] [ code [] [ text url ] ]
]