mirror of
				https://github.com/owncast/owncast.git
				synced 2025-11-04 13:27:21 +08: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)
 | 
						|
}
 |