mirror of
https://github.com/Harry-zklcdc/go-proxy-bingai.git
synced 2024-05-03 14:25:13 +08:00
11 lines
210 B
Go
11 lines
210 B
Go
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)
|
|
}
|