@@ -42,11 +42,10 @@ withServantServer api = withServantServerAndContext api EmptyContext
4242-- /Since 0.0.0.0/
4343#if MIN_VERSION_servant_server(0,18,0)
4444withServantServerAndContext :: (HasServer a ctx, HasContextEntry (ctx .++ DefaultErrorFormatters) ErrorFormatters)
45− => Proxy a -> Context ctx -> IO (Server a) -> (BaseUrl -> IO r) -> IO r
4645#else
4746withServantServerAndContext :: HasServer a ctx
48− => Proxy a -> Context ctx -> IO (Server a) -> (BaseUrl -> IO r) -> IO r
4947#endif
48+ => Proxy a -> Context ctx -> IO (Server a) -> (BaseUrl -> IO r) -> IO r
5049withServantServerAndContext api ctx server t
5150 = withApplication (return . serveWithContext api ctx =<< server) $ \port ->
5251 t (BaseUrl Http "localhost" port "")