diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-04-30 19:28:15 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-04-30 19:28:15 -0400 |
commit | 5d3e80aeec03af9a5b271757e31a802d8fcb3eeb (patch) | |
tree | f490f691fa1d77b07130dacbda5853eaee3df54b /ServerList.hs | |
parent | 1a360fda8bd9fcf29ebb7c8b581a670045c46495 (diff) | |
download | debug-me-5d3e80aeec03af9a5b271757e31a802d8fcb3eeb.tar.gz |
add --use-server option for user
Diffstat (limited to 'ServerList.hs')
-rw-r--r-- | ServerList.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ServerList.hs b/ServerList.hs new file mode 100644 index 0000000..685bc65 --- /dev/null +++ b/ServerList.hs @@ -0,0 +1,13 @@ +{- Copyright 2017 Joey Hess <id@joeyh.name> + - + - Licensed under the GNU AGPL version 3 or higher. + -} + +module ServerList where + +import Network.URI +import Data.Maybe + +defaultServerUrl :: URI +defaultServerUrl = fromMaybe (error "internal url parse error") $ + parseURI "http://localhost:8081/" |