~pepe/neil

ec1c8574b2f658c899ab03bcbd6d5a49ef183c58 — Josef Pospíšil 11 days ago cecee43
Remove trace
1 files changed, 1 insertions(+), 1 deletions(-)

M neil/watch/init.janet
M neil/watch/init.janet => neil/watch/init.janet +1 -1
@@ 72,7 72,7 @@
(defn check-session [next-middleware]
  (fn [req]
    (def {:headers h} req)
    (if (get-in (tracev h) ["Cookie" "session"])
    (if (get-in h ["Cookie" "session"])
      (next-middleware req)
      (if (h "HX-Request")
        "<script>document.location = '/auth'</script>"