owncast/controllers/embed.go

16 lines
412 B
Go
Raw Normal View History

package controllers
import (
"net/http"
)
2020-11-13 02:14:59 +03:00
// GetChatEmbed gets the embed for chat.
func GetChatEmbed(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "/index-standalone-chat.html", http.StatusMovedPermanently)
}
2020-11-13 02:14:59 +03:00
// GetVideoEmbed gets the embed for video.
func GetVideoEmbed(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "/index-video-only.html", http.StatusMovedPermanently)
}