fix: embed all files of dist

pull/6007/head
Andy Hsu 2024-02-03 19:44:50 +08:00
parent 812f58ae6d
commit da5e35578a
2 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,5 @@ package public
import "embed"
//go:embed dist
//go:embed all:dist
var Public embed.FS

View File

@ -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"
)