~h3rald/nimhttpd

7a55e1ebe37b4ece14baffc7430edf86d318146d — h3rald 1 year, 7 months ago 4cf3a1c
Fixed deprecation warning.
2 files changed, 2 insertions(+), 2 deletions(-)

M nimhttpd.nimble
M src/nimhttpd.nim
M nimhttpd.nimble => nimhttpd.nimble +1 -1
@@ 23,7 23,7 @@ installExt    = @["nim"]

# Dependencies

requires "nim >= 1.4.4"
requires "nim >= 1.6.12"

const compile = "nim c -d:release"
const linux_x64 = "--cpu:amd64 --os:linux -o:nimhttpd"

M src/nimhttpd.nim => src/nimhttpd.nim +1 -1
@@ 239,7 239,7 @@ when isMainModule:
      of "port", "p":
        try:
          port = val.parseInt
        except:
        except CatchableError:
          if val == "":
            echo "Port not set."
            quit(2)