mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
Fix type error in fastcgi server.
I forgot to fix this after I copied the modified FastCGIUtils from morpho-server.
This commit is contained in:
@@ -25,7 +25,7 @@ main = do initFastCGI
|
|||||||
loopFastCGI (handleErrors (handleCGIErrors (fcgiMain r)))
|
loopFastCGI (handleErrors (handleCGIErrors (fcgiMain r)))
|
||||||
|
|
||||||
fcgiMain :: DataRef PGF -> CGI CGIResult
|
fcgiMain :: DataRef PGF -> CGI CGIResult
|
||||||
fcgiMain ref = getData PGF.readPGF ref grammarFile >>= cgiMain
|
fcgiMain ref = getData (liftIO . PGF.readPGF) ref grammarFile >>= cgiMain
|
||||||
|
|
||||||
cgiMain :: PGF -> CGI CGIResult
|
cgiMain :: PGF -> CGI CGIResult
|
||||||
cgiMain pgf =
|
cgiMain pgf =
|
||||||
|
|||||||
Reference in New Issue
Block a user