3 changed files with 12 additions and 24 deletions
@ -1,13 +0,0 @@ |
|||||||
package controllers |
|
||||||
|
|
||||||
import ( |
|
||||||
"net/http" |
|
||||||
|
|
||||||
"github.com/owncast/owncast/core" |
|
||||||
"github.com/owncast/owncast/utils" |
|
||||||
) |
|
||||||
|
|
||||||
func Ping(w http.ResponseWriter, r *http.Request) { |
|
||||||
id := utils.GenerateClientIDFromRequest(r) |
|
||||||
core.SetViewerIdActive(id) |
|
||||||
} |
|
Loading…
Reference in new issue