summaryrefslogtreecommitdiffhomepage
path: root/ServerList.hs
blob: 685bc65de841ab4dbc0d5363f7ec233b99d7cc42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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/"