Skip to content

Commit da5e355

Browse files
committed
fix: embed all files of dist
1 parent 812f58a commit da5e355

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/public.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package public
22

33
import "embed"
44

5-
//go:embed dist
5+
//go:embed all:dist
66
var Public embed.FS

server/static/static.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package static
33
import (
44
"errors"
55
"fmt"
6-
"github.com/alist-org/alist/v3/public"
76
"io"
87
"io/fs"
98
"net/http"
@@ -13,6 +12,7 @@ import (
1312
"github.com/alist-org/alist/v3/internal/conf"
1413
"github.com/alist-org/alist/v3/internal/setting"
1514
"github.com/alist-org/alist/v3/pkg/utils"
15+
"github.com/alist-org/alist/v3/public"
1616
"github.com/gin-gonic/gin"
1717
)
1818

0 commit comments

Comments
 (0)