mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-10 16:13:42 +08:00
revert: hide web embed
This commit is contained in:
4
main.go
4
main.go
@@ -20,10 +20,10 @@ import (
|
|||||||
_ "net/http/pprof"
|
_ "net/http/pprof"
|
||||||
)
|
)
|
||||||
|
|
||||||
// /go:embed web/dist
|
//go:embed web/dist
|
||||||
var buildFS embed.FS
|
var buildFS embed.FS
|
||||||
|
|
||||||
// /go:embed web/dist/index.html
|
//go:embed web/dist/index.html
|
||||||
var indexPage []byte
|
var indexPage []byte
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
Reference in New Issue
Block a user