fix
This commit is contained in:
20
README.md
20
README.md
@@ -36,3 +36,23 @@ npm run build
|
||||
You can preview the production build with `npm run preview`.
|
||||
|
||||
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
|
||||
|
||||
## Local SSL Development
|
||||
|
||||
This project uses HTTPS for local development. The certificates are generated using a local Caddy instance.
|
||||
|
||||
To trust the local CA and avoid browser warnings:
|
||||
|
||||
1. **Linux (Ubuntu/Debian):**
|
||||
```bash
|
||||
sudo cp .ssl/root.crt /usr/local/share/ca-certificates/caddy-local.crt
|
||||
sudo update-ca-certificates
|
||||
```
|
||||
|
||||
2. **Chrome/Chromium:**
|
||||
You might need to import the authority in Chrome settings:
|
||||
- Go to `chrome://settings/certificates`
|
||||
- Click "Authorities" -> "Import"
|
||||
- Select `.ssl/root.crt`
|
||||
- Check "Trust this certificate for identifying websites"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user