mirror of
https://github.com/davedoesdev/streamana.git
synced 2025-09-27 01:55:59 +08:00
Use npx to run server
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
cd "$(dirname "$0")/../site"
|
||||
if test "$1" = "--https"; then
|
||||
serve -S -l tcp://0.0.0.0 --ssl-cert ../certs/server.crt --ssl-key ../certs/server.key
|
||||
npx serve -S -l tcp://0.0.0.0 --ssl-cert ../certs/server.crt --ssl-key ../certs/server.key
|
||||
else
|
||||
serve -S -l tcp://0.0.0.0
|
||||
npx serve -S -l tcp://0.0.0.0
|
||||
fi
|
||||
|
Reference in New Issue
Block a user