feat: add --serve-html-path option to example server (#1123)

This commit is contained in:
张春乔 authored and GitHub committed 2025-12-24 22:43:09 +08:00
1 parent 3e812460cf
commit 96fcb13fc0
2 files changed
+25 -2

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ usage: ./bin/sd-server [options]
Svr Options:
-l, --listen-ip <string> server listen ip (default: 127.0.0.1)
--listen-port <int> server listen port (default: 1234)
--serve-html-path <string> path to HTML file to serve at root (optional)
-v, --verbose print extra info
--color colors the logging tags according to level
-h, --help show this help message and exit