Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix fixme

  • Loading branch information...
commit a6ba7aadb9d00ded0babe147a62406f6866ce743 1 parent 78c4bb3
@gregorycollins gregorycollins authored
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"
Please sign in to comment.
Something went wrong with that request. Please try again.