diff options
Diffstat (limited to '')
| -rw-r--r-- | patches/nui.patch | 10 | ||||
| -rw-r--r-- | patches/spe.patch | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/patches/nui.patch b/patches/nui.patch new file mode 100644 index 0000000..a99771c --- /dev/null +++ b/patches/nui.patch @@ -0,0 +1,10 @@ +diff --git a/web.scm b/web.scm +index 411a6cc..e76f8b2 100644 +--- a/web.scm ++++ b/web.scm +@@ -4,4 +4,4 @@ + (lambda (request request-body) + (values '((content-type . (text/plain))) + (process-line (utf8->string request-body)))) +- 'http '(#:port 7183)) ++ 'http '(#:port (getenv "PORT"))) diff --git a/patches/spe.patch b/patches/spe.patch new file mode 100644 index 0000000..af5a53d --- /dev/null +++ b/patches/spe.patch @@ -0,0 +1,11 @@ +diff --git a/web/webservice.scm b/web/webservice.scm +index 8193dda..0cc6ca4 100755 +--- a/web/webservice.scm ++++ b/web/webservice.scm +@@ -51,4 +51,4 @@ + + (run-server spe-handler + 'http +- '(#:host "0.0.0.0")) +\ No newline at end of file ++ `(#:host "127.0.0.1" #:port ,(string->number (getenv "PORT")))) |
