mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 02:48:26 +00:00
Change webapp url paths
Don't use `#`, because many people find it awkward. Now "normal" urls are used and elm takes care to not issue a server request when these change.
This commit is contained in:
@ -188,7 +188,7 @@ urlInfoMessage flags model =
|
||||
]
|
||||
, p []
|
||||
[ text "This source defines URLs that can be used by anyone to send files to "
|
||||
, text "you. There is a web page that you can share or tha API url can be used "
|
||||
, text "you. There is a web page that you can share or the API url can be used "
|
||||
, text "with other clients."
|
||||
]
|
||||
, dl [ class "ui list" ]
|
||||
@ -196,7 +196,7 @@ urlInfoMessage flags model =
|
||||
, dd []
|
||||
[ let
|
||||
url =
|
||||
flags.config.baseUrl ++ "/app#/upload/" ++ model.source.id
|
||||
flags.config.baseUrl ++ "/app/upload/" ++ model.source.id
|
||||
in
|
||||
a [ href url, target "_blank" ] [ code [] [ text url ] ]
|
||||
]
|
||||
|
Reference in New Issue
Block a user