Redirect /embed/chat and /embed/video to the embedable pages. Closes #110

This commit is contained in:
Gabe Kangas
2020-08-30 16:32:09 -07:00
parent 351fbe8834
commit 99521e6741
2 changed files with 21 additions and 0 deletions

View File

@@ -35,6 +35,12 @@ func Start() error {
// web config api
http.HandleFunc("/config", controllers.GetWebConfig)
// chat embed
http.HandleFunc("/embed/chat", controllers.GetChatEmbed)
// video embed
http.HandleFunc("/embed/video", controllers.GetVideoEmbed)
}
port := config.Config.GetPublicWebServerPort()