From 8ef172419e30e8e3c110116f61d0b1eaca23c0a5 Mon Sep 17 00:00:00 2001 From: uakci Date: Mon, 20 Sep 2021 15:39:43 +0200 Subject: hotfix & nixfmt --- patches/nui.patch | 2 +- patches/spe.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'patches') diff --git a/patches/nui.patch b/patches/nui.patch index a99771c..ac6bca1 100644 --- a/patches/nui.patch +++ b/patches/nui.patch @@ -7,4 +7,4 @@ index 411a6cc..e76f8b2 100644 (values '((content-type . (text/plain))) (process-line (utf8->string request-body)))) - 'http '(#:port 7183)) -+ 'http '(#:port (getenv "PORT"))) ++ 'http `(#:port ,(string->number (getenv "PORT")))) diff --git a/patches/spe.patch b/patches/spe.patch index af5a53d..28e50a8 100644 --- a/patches/spe.patch +++ b/patches/spe.patch @@ -8,4 +8,4 @@ index 8193dda..0cc6ca4 100755 'http - '(#:host "0.0.0.0")) \ No newline at end of file -+ `(#:host "127.0.0.1" #:port ,(string->number (getenv "PORT")))) ++ `(#:port ,(string->number (getenv "PORT")))) -- cgit v1.2.3