mirror of
https://github.com/owncast/owncast.git
synced 2024-11-28 19:19:06 +03:00
15 lines
412 B
Go
15 lines
412 B
Go
package controllers
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
// GetChatEmbed gets the embed for chat.
|
|
func GetChatEmbed(w http.ResponseWriter, r *http.Request) {
|
|
http.Redirect(w, r, "/index-standalone-chat.html", http.StatusMovedPermanently)
|
|
}
|
|
|
|
// GetVideoEmbed gets the embed for video.
|
|
func GetVideoEmbed(w http.ResponseWriter, r *http.Request) {
|
|
http.Redirect(w, r, "/index-video-only.html", http.StatusMovedPermanently)
|
|
}
|