Now using official jwt library.
h3rald h3rald@h3rald.com
Tue, 05 Nov 2019 15:51:23 +0100
4 files changed,
4 insertions(+),
4 deletions(-)
M
litestore.nimble
→
litestore.nimble
@@ -25,7 +25,7 @@ installExt = @["nim", "c", "h", "json", "ico"]
# Dependencies -requires "nim >= 1.0.0", "https://github.com/h3rald/nim-jwt" +requires "nim >= 1.0.0", "jwt" # Build
M
src/litestore.nim.cfg
→
src/litestore.nim.cfg
@@ -1,5 +1,4 @@
define:release -threads:on # https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/
M
src/litestorepkg/lib/cli.nim
→
src/litestorepkg/lib/cli.nim
@@ -1,6 +1,7 @@
import parseopt, - strutils + strutils, + json import logger, config,
M
src/litestorepkg/lib/server.nim
→
src/litestorepkg/lib/server.nim
@@ -34,7 +34,7 @@ echo ""
LOG.info("Exiting...") quit() -template auth(uri: string): typed = +template auth(uri: string): void = let cfg = access[uri] if cfg.hasKey(reqMethod): LOG.debug("Authenticating: " & reqMethod & " " & uri)