Skip to content

Commit

Permalink
implicitsnap now uses GZip.
Browse files Browse the repository at this point in the history
  • Loading branch information
colah committed Sep 3, 2012
1 parent a124bd3 commit 41f1a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implicitsnap.hs
Expand Up @@ -42,7 +42,7 @@ site = route

renderHandler :: Snap ()
renderHandler = method GET $ withCompression $ do

modifyResponse $ setContentType "application/x-javascript"
request <- getRequest
case (rqParam "source" request, rqParam "callback" request) of
(Just [source], Just [callback]) -> do
Expand Down

0 comments on commit 41f1a76

Please sign in to comment.