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.

9 lines
282 B

9 years ago
  1. ## Access Control
  2. By default, access to all files is allowed (including dot files). Use `--forbid` to establish a blacklist:
  3. ```sh
  4. $ ws --forbid '*.json' '*.yml'
  5. serving at http://localhost:8000
  6. ```
  7. [Example](https://github.com/lwsjs/local-web-server/tree/master/example/forbid).