~pepe/neil

98c02b1a7b67740de390e5911a82917298466fd9 — Josef Pospíšil 3 months ago d03ee93
Fix proxy for http too
1 files changed, 1 insertions(+), 1 deletions(-)

M neil/service/acts.janet
M neil/service/acts.janet => neil/service/acts.janet +1 -1
@@ 85,7 85,7 @@
  (def name (match-first '(* '(to ".jdn") ".jdn" -1) config))
  (with [f (file/open (path/join nginx (. name "-http")) :wb)]
    (with-dyns [:out f]
      (http/render-dict {:url (http :url) :code code-path})))
      (http/render-dict (merge http {:code code-path}))))
  (def ws-url (match-first '(* (thru "//") '(to -1)) (ws :url)))
  (with [f (file/open (path/join nginx (. name "-ws")) :wb)]
    (with-dyns [:out f]