fix the server name (#1907)

the name should match ^[a-z0-9-]+$
This commit is contained in:
Meisam 2022-05-16 05:07:34 +02:00 committed by GitHub
parent d43e3d4e47
commit d0ea430f98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ func NodeInfoV2Controller(w http.ResponseWriter, r *http.Request) {
res := response{ res := response{
Version: "2.0", Version: "2.0",
Software: software{ Software: software{
Name: "Owncast", Name: "owncast",
Version: config.VersionNumber, Version: config.VersionNumber,
}, },
Usage: usage{ Usage: usage{