We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 812f58a commit da5e355Copy full SHA for da5e355
public/public.go
@@ -2,5 +2,5 @@ package public
2
3
import "embed"
4
5
-//go:embed dist
+//go:embed all:dist
6
var Public embed.FS
server/static/static.go
@@ -3,7 +3,6 @@ package static
import (
"errors"
"fmt"
- "github.com/alist-org/alist/v3/public"
7
"io"
8
"io/fs"
9
"net/http"
@@ -13,6 +12,7 @@ import (
13
12
"github.com/alist-org/alist/v3/internal/conf"
14
"github.com/alist-org/alist/v3/internal/setting"
15
"github.com/alist-org/alist/v3/pkg/utils"
+ "github.com/alist-org/alist/v3/public"
16
"github.com/gin-gonic/gin"
17
)
18
0 commit comments