diff options
| author | uakci <uakci@uakci.pl> | 2021-09-15 01:19:55 +0200 |
|---|---|---|
| committer | uakci <uakci@uakci.pl> | 2021-09-15 01:19:55 +0200 |
| commit | 20ef8a090c2bc552e8f1e5dd773cd086c9782a21 (patch) | |
| tree | 89b7efba3f301c11eaba53ce13bcca87a9648240 /patches | |
| download | nuogai-20ef8a090c2bc552e8f1e5dd773cd086c9782a21.tar.gz nuogai-20ef8a090c2bc552e8f1e5dd773cd086c9782a21.zip | |
initial
Diffstat (limited to 'patches')
| -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")))) |
