Pibd-21_Alekseev_I.S._Inter.../IP/node_modules/.bin/http-server

13 lines
322 B
Plaintext
Raw Normal View History

2023-12-03 16:59:28 +04:00
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../http-server/bin/http-server" "$@"
else
exec node "$basedir/../http-server/bin/http-server" "$@"
fi