Browse files

Fix fixme

  • Loading branch information...
1 parent 78c4bb3 commit a6ba7aadb9d00ded0babe147a62406f6866ce743 @gregorycollins gregorycollins committed Mar 16, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/Snap/Snaplet/Internal/Types.hs
View
3 src/Snap/Snaplet/Internal/Types.hs
@@ -286,8 +286,7 @@ reloadSite = failIfNotLocal $ do
writeText msg
writeText $ "Site successfully reloaded.\n"
failIfNotLocal m = do
- -- TODO/FIXME: grave error here; this code needs to check if we're
- -- behind a proxy.
+ -- FIXME: this moves to auth once control-panel is done
rip <- liftM rqRemoteAddr getRequest
if not $ elem rip [ "127.0.0.1"
, "localhost"

0 comments on commit a6ba7aa

Please sign in to comment.