Skip to content

Commit

Permalink
chore: set hostfs defauls to /hostfs
Browse files Browse the repository at this point in the history
  • Loading branch information
xzchaoo committed Dec 27, 2023
1 parent 676acec commit 4b48393
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/core/hostfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ import (
"strings"
)

var hostfs = "/"
var hostfs = "/hostfs"

func init() {
// TODO 这个类可以进一步抽象
if s := os.Getenv("HOSTFS"); s != "" {
hostfs = s
}
Expand Down

0 comments on commit 4b48393

Please sign in to comment.