Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

195 B
Raw Blame
package middleware

import (
	"net/http"
)

// EnableCors enables the CORS header on the responses.
func EnableCors(w http.ResponseWriter) {
	w.Header().Set("Access-Control-Allow-Origin", "*")
}