Why Nostr? What is Njump?
2024-07-03 00:50:59

npub1ja…7h7rr on Nostr: commit 9d10676d8650368b3442f6287d106730ab2b3d57 Author: @RandyMcMillan ...

commit 9d10676d8650368b3442f6287d106730ab2b3d57
Author: @RandyMcMillan <[email protected]>
Date: Sun Mar 31 13:14:17 2024 -0400

web/gnostr-web-deploy:-p --port arg

diff --git a/web/gnostr-web-deploy b/web/gnostr-web-deploy
old mode 100644
new mode 100755
index cb1138a47..0fc0c5295
--- a/web/gnostr-web-deploy
+++ b/web/gnostr-web-deploy
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+PORT=80 && export $PORT

if [[ $1 = "-h" ]] || [[ $1 = "--help" ]]; then

@@ -12,7 +13,12 @@ if [[ $1 = "-v" ]] || [[ $1 = "--version" ]]; then

exit;
fi
+if [[ $1 = "-p" ]] || [[ $1 = "--port" ]]; then

+ PORT=$2 && export PORT

-gnostr-web --http-address=0.0.0.0 --http-port=80 --deploy-path=/web --docroot=. & \
- $(shell which open) http://0.0.0.0:80¬
+fi
+
+
+gnostr-web --http-address=0.0.0.0 --http-port=$PORT --deploy-path=/web --docroot=. & \
+ $(shell which open) http://0.0.0.0:$PORT
Author Public Key
npub1jae72gy0un8uwua0na848rytf7lf8yu8mrs9w0l7n62t3kf6z7gqd7h7rr