~pepe/neil

d03ee9308a1f04f1f15a4a7028aeab30750b89fb — Josef Pospíšil 3 months ago 4925354
Fix proxy url
1 files changed, 1 insertions(+), 1 deletions(-)

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

(define-effect ReloadNginx [&]
  (os/execute ["service" "nginx" "reload"] :p))