Add --port and --host as options to the guix-data-service
This commit is contained in:
parent
bd292d6f57
commit
5323f24133
2 changed files with 23 additions and 6 deletions
|
|
@ -43,8 +43,8 @@
|
|||
(apply values
|
||||
(run-controller controller request body)))
|
||||
|
||||
(define (start-guix-data-service-web-server port)
|
||||
(define (start-guix-data-service-web-server port host)
|
||||
(run-server (lambda (request body)
|
||||
(handler request body controller))
|
||||
#:addr INADDR_ANY
|
||||
#:host host
|
||||
#:port port))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue