From 5d3e80aeec03af9a5b271757e31a802d8fcb3eeb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 30 Apr 2017 19:28:15 -0400 Subject: add --use-server option for user --- ServerList.hs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ServerList.hs (limited to 'ServerList.hs') 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 + - + - 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/" -- cgit v1.2.3