various improvements

This commit is contained in:
watn3y 2023-12-29 02:35:22 +01:00
parent d5272262da
commit 1a6953900c
14 changed files with 71 additions and 49 deletions

View file

@ -7,7 +7,7 @@ import (
"github.com/rs/zerolog/log"
)
func RunWeb() {
func RunServer() {
fs := http.FileServer(http.Dir("./videos"))
http.Handle("/", fs)