Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add a section about adding a rewrite rule if self-hosting
Sebastian Martinez committed 11 months ago
commit 98e11f406872b0cdcac2583ce04ab537b9a1ffdf
parent f54222326a18fa5202ecdc57b1c326c8657f60e4
1 file changed +11 -0
modified README.md
@@ -42,6 +42,17 @@ There are several ways to deploy the UI publicly. Here are two common options:
1. Fork this repository to create your own version
2. Configure your Vercel account to deploy the forked repository

+
**Add Rewrite Rules for Client-Side Routing**
+

+
The explorer is a single-page application (SPA). To ensure that all routes are handled correctly, add a rewrite rule to your web server configuration. For example:
+

+
Caddy:
+

+
```
+
example.com {
+
    rewrite * /index.html
+
}
+
```

## Configuration