tutorial: Update type of BaseUrl to real type
I got confused to why there was one more argument passed to constructor than the type takes. Turns out the docs were just a bit out of date.
This commit is contained in:
parent
e26f123555
commit
a425c3ae43
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ data BaseUrl = BaseUrl
|
||||||
{ baseUrlScheme :: Scheme -- ^ URI scheme to use
|
{ baseUrlScheme :: Scheme -- ^ URI scheme to use
|
||||||
, baseUrlHost :: String -- ^ host (eg "haskell.org")
|
, baseUrlHost :: String -- ^ host (eg "haskell.org")
|
||||||
, baseUrlPort :: Int -- ^ port (eg 80)
|
, baseUrlPort :: Int -- ^ port (eg 80)
|
||||||
|
, baseUrlPath :: String -- ^ path (eg "/a/b/c")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue