chore: start script fix

This commit is contained in:
qwqVictor 2024-04-22 00:55:38 +08:00
parent c79c7d0d4b
commit b2a0dfa54f

4
run.sh
View File

@ -2,8 +2,8 @@ set -e
if [ "r" = "$1" ]; then if [ "r" = "$1" ]; then
cargo make install-release cargo make install-release
else elif [ "d" = "$1" ]; then
cargo make install-debug cargo make install-debug
fi fi
cd build && ./axum-websockify 8080 $2 --web `pwd` "$(dirname $0)/build/axum-websockify" 0.0.0.0:8080 $2 --web "$(dirname $0)/build"