|
|
@ -6,15 +6,15 @@ import ( |
|
|
|
|
|
|
|
|
|
|
|
// GetChatEmbedreadwrite gets the embed for readwrite chat.
|
|
|
|
// GetChatEmbedreadwrite gets the embed for readwrite chat.
|
|
|
|
func GetChatEmbedreadwrite(w http.ResponseWriter, r *http.Request) { |
|
|
|
func GetChatEmbedreadwrite(w http.ResponseWriter, r *http.Request) { |
|
|
|
http.Redirect(w, r, "/index-standalone-chat-readwrite.html", http.StatusTemporaryRedirect) |
|
|
|
http.ServeFile(w, r, "webroot/index-standalone-chat-readwrite.html") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// GetChatEmbedreadonly gets the embed for readonly chat.
|
|
|
|
// GetChatEmbedreadonly gets the embed for readonly chat.
|
|
|
|
func GetChatEmbedreadonly(w http.ResponseWriter, r *http.Request) { |
|
|
|
func GetChatEmbedreadonly(w http.ResponseWriter, r *http.Request) { |
|
|
|
http.Redirect(w, r, "/index-standalone-chat-readonly.html", http.StatusTemporaryRedirect) |
|
|
|
http.ServeFile(w, r, "webroot/index-standalone-chat-readonly.html") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// GetVideoEmbed gets the embed for video.
|
|
|
|
// GetVideoEmbed gets the embed for video.
|
|
|
|
func GetVideoEmbed(w http.ResponseWriter, r *http.Request) { |
|
|
|
func GetVideoEmbed(w http.ResponseWriter, r *http.Request) { |
|
|
|
http.Redirect(w, r, "/index-video-only.html", http.StatusTemporaryRedirect) |
|
|
|
http.ServeFile(w, r, "webroot/index-video-only.html") |
|
|
|
} |
|
|
|
} |
|
|
|