mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-17 16:06:38 +08:00
revert: hide web embed
This commit is contained in:
parent
c993ab2746
commit
b82582cb42
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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user