diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.nim b/src/main.nim index 705063a2..15b5dcb1 100644 --- a/src/main.nim +++ b/src/main.nim @@ -99,7 +99,7 @@ while i < params.len: pages.add(param) inc i -if pages.len == 0: +if pages.len == 0 and not stdin.isatty(): let http = getEnv("HTTP_HOME") if http != "": pages.add(http) else: |