@apa512 has joined the channel
(def my-vhosts-model
(bidi.vhosts/vhosts-model [""
["/index.html" :index]
["/login" :login]]
[""
["/posts.html" :posts]]))
(comment
(bidi.vhosts/uri-info my-vhosts-model :index))
i'm trying vhosts but can't get it working at all
:index gives nil and :posts raises exception
Execution error (ExceptionInfo) at bidi.bidi/eval5731$fn (bidi.cljc:125).
If a PatternSegment is represented by a vector, the second element
must be the key associated with the pattern: [
{:scheme :https, :host ""}]
any reason why this wouldn't work with the latest yada?
@tomd has joined the channel
@j.antonelli712 has joined the channel
Uri info requires a request
@agold has joined the channel