diff --git a/dashboard/index.html b/dashboard/index.html index cadbfaf4..675bfced 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -2,7 +2,7 @@ - + PluralKit | home diff --git a/dashboard/main.go b/dashboard/main.go index 894a1dbf..c8a8cab2 100644 --- a/dashboard/main.go +++ b/dashboard/main.go @@ -61,7 +61,10 @@ func notFoundHandler(rw http.ResponseWriter, r *http.Request) { var err error // lol - if strings.HasSuffix(r.URL.Path, ".js") { + if r.URL.Path == "/myriad.png" { + data, err = fs.ReadFile("dist/myriad.png") + rw.Header().Set("content-type", "image/png") + } else if strings.HasSuffix(r.URL.Path, ".js") { data, err = fs.ReadFile("dist" + r.URL.Path) rw.Header().Set("content-type", "application/javascript") } else if strings.HasSuffix(r.URL.Path, ".css") {