docs: update for https dev server
All checks were successful
/ depoly (push) Successful in 1m15s

This commit is contained in:
thislight 2024-10-27 00:34:18 +08:00
parent f8f07e9015
commit b25c2d5f45
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E
2 changed files with 3 additions and 3 deletions

View file

@ -24,6 +24,6 @@ to build the distribution, saved at "dist" directory.
Tutu must be loaded in a secure context - that means serving under localhost (`127.0.0.1` or `::1`) or HTTPS.
Use `bun dev` to run the dev server. By default, the dev server is run on the domain <https://localhost.direct> and the port you defined. The cert is provided by localhost.direct, see <https://get.localhost.direct> for detail.
Use `bun dev` to run the dev server on localhost. If you need HTTPS dev server, see [*Set up HTTPS for the dev server*](docs/dev-https.md).
You can also change the config to make it run on localhost - but localhost.direct can be visted from the other device on the same network (as you do a little DNS magic).