2020-08-31 02:32:09 +03:00
|
|
|
package controllers
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
)
|
|
|
|
|
2021-08-01 02:21:30 +03:00
|
|
|
// GetChatEmbedreadwrite gets the embed for readwrite chat.
|
|
|
|
func GetChatEmbedreadwrite(w http.ResponseWriter, r *http.Request) {
|
|
|
|
http.Redirect(w, r, "/index-standalone-chat-readwrite.html", http.StatusTemporaryRedirect)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetChatEmbedreadonly gets the embed for readonly chat.
|
|
|
|
func GetChatEmbedreadonly(w http.ResponseWriter, r *http.Request) {
|
|
|
|
http.Redirect(w, r, "/index-standalone-chat-readonly.html", http.StatusTemporaryRedirect)
|
2020-08-31 02:32:09 +03:00
|
|
|
}
|
|
|
|
|
2020-11-13 02:14:59 +03:00
|
|
|
// GetVideoEmbed gets the embed for video.
|
2020-08-31 02:32:09 +03:00
|
|
|
func GetVideoEmbed(w http.ResponseWriter, r *http.Request) {
|
2021-08-01 02:21:30 +03:00
|
|
|
http.Redirect(w, r, "/index-video-only.html", http.StatusTemporaryRedirect)
|
2020-08-31 02:32:09 +03:00
|
|
|
}
|