Adds support nginx with wrong port

This commit is contained in:
Alexey Khit
2022-09-06 18:09:44 +03:00
parent 77080663ee
commit 14b6df68ce
2 changed files with 33 additions and 6 deletions
+1
View File
@@ -34,6 +34,7 @@ func Init() {
log = app.GetLogger("api")
initStatic(cfg.Mod.StaticDir)
initWS()
HandleFunc("/api/frame.mp4", frameHandler)
HandleFunc("/api/frame.raw", frameHandler)