Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Add a section about adding a rewrite rule if self-hosting
Sebastian Martinez committed 10 months ago
commit 98e11f406872b0cdcac2583ce04ab537b9a1ffdf
parent f542223
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