Remove overly specific comment.
This commit is contained in:
parent
1a63d8797a
commit
27e842365f
1 changed files with 0 additions and 5 deletions
|
@ -42,10 +42,5 @@ import Servant.Server.Internal
|
||||||
-- >
|
-- >
|
||||||
-- > main :: IO ()
|
-- > main :: IO ()
|
||||||
-- > main = Network.Wai.Handler.Warp.run 8080 app
|
-- > main = Network.Wai.Handler.Warp.run 8080 app
|
||||||
--
|
|
||||||
-- (If you need access to the wai 'Application' type, use
|
|
||||||
-- 'toApplication'. This is useful for writing custom servers that do
|
|
||||||
-- things other than routing (e.g. dumping all requests and responses
|
|
||||||
-- to a file).)
|
|
||||||
serve :: HasServer layout => Proxy layout -> Server layout -> Application
|
serve :: HasServer layout => Proxy layout -> Server layout -> Application
|
||||||
serve p server = toApplication (route p server)
|
serve p server = toApplication (route p server)
|
||||||
|
|
Loading…
Reference in a new issue