Skip to content

Commit

Permalink
add ability to specify http host in relay config
Browse files Browse the repository at this point in the history
  • Loading branch information
duck1123 committed Jan 7, 2023
1 parent b70cfd1 commit 81a182c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions conf/relay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
hostname: "nostr-relay.untethr.me"

http:
host: 127.0.0.1
port: 9090

sqlite:
Expand Down
1 change: 1 addition & 0 deletions src/me/untethr/nostr/app.clj
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@
subs-atom
fulfill-atom)
{:port (:http-port conf)
:host (:http-host conf)
:max-ws 4194304})))

(defn- slurp-json*
Expand Down

0 comments on commit 81a182c

Please sign in to comment.