mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
fix(image): take scheme-less health-check URLs, anchor the compose pin, say which tools left
This commit is contained in:
1 parent
fb143a2d47
commit
27b054d8c4
5 files changed
+28
-10
No files matched your search
@@ -62,6 +62,9 @@ function parseArgs(argv) {
|
||||
};
|
||||
if (/^https?:\/\//i.test(arg)) {
|
||||
opts.url ??= arg;
|
||||
} else if (/^[a-z0-9.[\]:-]+(:\d+)?\//i.test(arg)) {
|
||||
// busybox wget takes `127.0.0.1:3000/api/health` without a scheme.
|
||||
opts.url ??= `http://${arg}`;
|
||||
} else if (arg === "--spider") {
|
||||
opts.spider = true;
|
||||
} else if (arg === "-q" || arg === "--quiet") {
|
||||
|
||||
Reference in new issue
Block a user