Closed zolomatok closed 3 years ago
Conditions work fine in 0.5.0, and it differentiates between the two. But it should be cond @"name" == "daniel"
for the first route. Currently it says "Correct, my name is daniel" when you go to anything but /daniel
, and "No that's not my name" for /daniel
.
The example given in the README on the use of
cond
s don't work.This will always resolve to
Correct, my name is daniel
, even if you visitlocalhost:500/duke
Jester 0.4.3