http-server with localhost:3000 gives ERR_INVALID_REDIRECT

后端 未结 6 1470
半阙折子戏
半阙折子戏 2020-12-19 06:08

I have installed http-server using the following command:

npm i -g http-server

Upon running the server I get the response saying Running o

6条回答
  •  难免孤独
    2020-12-19 06:23

    This issue is fixed in version 0.12.0, make sure you're upgraded by running

    npm install --global http-server
    

    If you use npx http-server it should use the latest version automatically.

提交回复
热议问题