Add meta tags to show cover and share description in social platforms

This commit is contained in:
Deluan
2023-01-24 15:35:23 -05:00
parent cab43c89e6
commit 69b36c75a5
5 changed files with 54 additions and 19 deletions
+1
View File
@@ -41,6 +41,7 @@ func (p *Router) routes() http.Handler {
if conf.Server.DevEnableShare {
r.HandleFunc("/s/{id}", p.handleStream)
r.HandleFunc("/{id}", p.handleShares)
r.HandleFunc("/", p.handleShares)
r.Handle("/*", p.assetsHandler)
}
})