readme
This commit is contained in:
@ -45,6 +45,8 @@ $ ws
|
||||
Serving at http://mbp.local:8000, http://127.0.0.1:8000, http://192.168.0.100:8000
|
||||
```
|
||||
|
||||

|
||||
|
||||
### Single Page Application
|
||||
|
||||
Serving a Single Page Application (an app with client-side routing, e.g. a React or Angular app) is as trivial as specifying the name of your single page:
|
||||
@ -69,6 +71,8 @@ $ ws --rewrite '/api/* -> https://internal-service.local/api/$1'
|
||||
Serving at http://mbp.local:8000, http://127.0.0.1:8000, http://192.168.0.100:8000
|
||||
```
|
||||
|
||||

|
||||
|
||||
### HTTPS
|
||||
|
||||
Launch a secure server by setting the `--https` flag. [See the wiki](https://github.com/lwsjs/local-web-server/wiki) for further configuration options and a guide on how to get the "green padlock" in your browser.
|
||||
|
Reference in New Issue
Block a user