mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-24 06:14:04 +08:00
fix: embed all files of dist
This commit is contained in:
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…
x
Reference in New Issue
Block a user