mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 20:23:29 +08:00
Handle the server summary data as auto-linked markdown. Closes #1010
This commit is contained in:
@ -41,9 +41,12 @@ func GetWebConfig(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
}
|
||||
|
||||
serverSummary := data.GetServerSummary()
|
||||
serverSummary = utils.RenderPageContentMarkdown(serverSummary)
|
||||
|
||||
configuration := webConfigResponse{
|
||||
Name: data.GetServerName(),
|
||||
Summary: data.GetServerSummary(),
|
||||
Summary: serverSummary,
|
||||
Logo: "/logo",
|
||||
Tags: data.GetServerMetadataTags(),
|
||||
Version: config.GetReleaseString(),
|
||||
|
||||
Reference in New Issue
Block a user