main
Bel LaPointe 2024-12-14 20:04:50 -07:00
parent 68f8e931e7
commit 0db285d4d4
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ func isWS(r *http.Request) bool {
}
func (s *S) serveStatic(w http.ResponseWriter, r *http.Request) error {
return fmt.Errorf("not impl static")
http.FS(http.Dir(s.config.Root)).ServeHTTP(w, r)
return nil
}
func (s *S) serveAPI(w http.ResponseWriter, r *http.Request) error {