From 08fae303df1df7ffb2e09a3d9d5cbd378dba281c Mon Sep 17 00:00:00 2001 From: bjorn Date: Fri, 15 Aug 2008 11:14:13 +0000 Subject: First working version of the AJAX translation client. --- src/server/MainFastCGI.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/MainFastCGI.hs') diff --git a/src/server/MainFastCGI.hs b/src/server/MainFastCGI.hs index e275d6e7e..a0ce72f9d 100644 --- a/src/server/MainFastCGI.hs +++ b/src/server/MainFastCGI.hs @@ -42,8 +42,8 @@ cgiMain pgf = mfrom <- getLang pgf "from" mto <- getLang pgf "to" outputJSON $ translate pgf input mcat mfrom mto - "/cats" -> outputJSON $ categories pgf - "/langs" -> outputJSON $ languages pgf + "/categories" -> outputJSON $ categories pgf + "/languages" -> outputJSON $ languages pgf _ -> outputNotFound path getCat :: PGF -> String -> CGI (Maybe Category) -- cgit v1.2.3