mirror of https://github.com/Xhofe/alist
fix: embed all files of dist
parent
812f58ae6d
commit
da5e35578a
|
@ -2,5 +2,5 @@ package public
|
|||
|
||||
import "embed"
|
||||
|
||||
//go:embed dist
|
||||
//go:embed all:dist
|
||||
var Public embed.FS
|
||||
|
|
|
@ -3,7 +3,6 @@ package static
|
|||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/alist-org/alist/v3/public"
|
||||
"io"
|
||||
"io/fs"
|
||||
"net/http"
|
||||
|
@ -13,6 +12,7 @@ import (
|
|||
"github.com/alist-org/alist/v3/internal/conf"
|
||||
"github.com/alist-org/alist/v3/internal/setting"
|
||||
"github.com/alist-org/alist/v3/pkg/utils"
|
||||
"github.com/alist-org/alist/v3/public"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue