Adds support for custom admin port via env var #3808

and documentation
This commit is contained in:
Jamie Curnow committed 2026-06-10 11:24:53 +10:00
1 parent a5db5ed156
commit a62c2a6dc3
13 files changed
+67 -10

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
OK=$(curl --silent http://127.0.0.1:81/api/ | jq --raw-output '.status')
OK=$(curl --silent "http://127.0.0.1:${NPM_ADMIN_PORT:-81}/api/" | jq --raw-output '.status')
if [ "$OK" == "OK" ]; then
echo "OK"