Cleanup related to context refactor (#9988)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
829f183bb0
Коммит
8429add371
@@ -19,6 +19,7 @@ import (
|
||||
|
||||
"github.com/mattermost/mattermost-server/mlog"
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
"github.com/mattermost/mattermost-server/utils/fileutils"
|
||||
)
|
||||
|
||||
// UpdateAssetsSubpath rewrites assets in the /client directory to assume the application is hosted
|
||||
@@ -28,7 +29,7 @@ func UpdateAssetsSubpath(subpath string) error {
|
||||
subpath = "/"
|
||||
}
|
||||
|
||||
staticDir, found := FindDir(model.CLIENT_DIR)
|
||||
staticDir, found := fileutils.FindDir(model.CLIENT_DIR)
|
||||
if !found {
|
||||
return errors.New("failed to find client dir")
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user