go-proxy-bingai/api/web.go

11 lines
210 B
Go
Raw Normal View History

2023-05-04 11:29:40 +08:00
package api
import (
"adams549659584/go-proxy-bingai/web"
"net/http"
)
func WebStatic(w http.ResponseWriter, r *http.Request) {
http.StripPrefix("/web/", http.FileServer(web.GetWebFS())).ServeHTTP(w, r)
2023-05-04 11:29:40 +08:00
}