Fix Riot Web embedding into Yggdrasil demo
MODIFY
cmd/dendrite-demo-yggdrasil/embed/embed_riotweb.go
cmd/dendrite-demo-yggdrasil/embed/embed_riotweb.go
@@ -19,7 +19,7 @@ func Embed(rootMux *mux.Router, listenPort int, serverName string) {
embeddedFS := _escFS(false)
embeddedServ := http.FileServer(embeddedFS)
- rootMux.Handle("/", embeddedServ)
+ rootMux.NotFoundHandler = embeddedServ
rootMux.HandleFunc("/config.json", func(w http.ResponseWriter, _ *http.Request) {
configFile, err := embeddedFS.Open("/config.sample.json")
if err != nil {

Fix Riot Web embedding into Yggdrasil demo