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