mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 03:29:03 +03:00
15 lines
408 B
Go
15 lines
408 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)
|
|
}
|