You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
synctv/server/handlers/web.go

13 lines
184 B
Go

package handlers
import (
"net/http"
"github.com/gin-gonic/gin"
"github.com/synctv-org/synctv/public"
)
func WebServer(e gin.IRoutes) {
e.StaticFS("", http.FS(public.Public))
}