You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

http-server.cmd 196B

1234567
  1. @IF EXIST "%~dp0\node.exe" (
  2. "%~dp0\node.exe" "%~dp0\..\http-server\bin\http-server" %*
  3. ) ELSE (
  4. @SETLOCAL
  5. @SET PATHEXT=%PATHEXT:;.JS;=;%
  6. node "%~dp0\..\http-server\bin\http-server" %*
  7. )