owncast/controllers/embed.go

16 lines
412 B
Go
Raw Normal View History

package controllers
import (
"net/http"
)
2020-11-13 00:14:59 +01: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 00:14:59 +01: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)
}