sws 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+6/−3 lines, 2 files
Files
Main.hs view
@@ -90,9 +90,9 @@ Option "s" ["secure"] (NoArg (\opt -> opt { optHTTPS = True })) "Enable HTTPS.", Option "" ["certificate"] (OptArg (\f opt -> opt { optCertificate = fromMaybe "" f }) "FILE")- "Require the given username. It's recommended to use this with HTTPS.",+ "The path to the server certificate. Required for HTTPS.", Option "" ["key-file"] (OptArg (\f opt -> opt { optKeyFile = fromMaybe "" f }) "FILE")- "Require the given username. It's recommended to use this with HTTPS.",+ "The path to the private key for the certificate. Required for HTTPS.", Option "" ["allow-http"] (NoArg (\opt -> opt { optAllowHTTP = True })) "Allow HTTP access when HTTPS is enabled. (Not working.)", Option "" ["disallow-http"] (NoArg (\opt -> opt { optAllowHTTP = False }))
sws.cabal view
@@ -10,7 +10,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.1.0.0+version: 0.1.0.1 -- A short (one-line) description of the package. synopsis: A simple web server for serving directories, similar to weborf.@@ -49,6 +49,9 @@ -- Constraint on the version of Cabal needed to build this package. cabal-version: >=1.10 +source-repository head+ type: git+ location: https://github.com/derekelkins/sws.git executable sws -- .hs or .lhs file containing the Main module.