implement first prototype of the logo upload API

This commit is contained in:
David Christofas
2023-02-07 17:05:36 +01:00
parent e853b98918
commit 20e4e56d28
8 changed files with 76 additions and 82 deletions

View File

@@ -1,8 +1,10 @@
package defaults
import (
"path/filepath"
"strings"
"github.com/owncloud/ocis/v2/ocis-pkg/config/defaults"
"github.com/owncloud/ocis/v2/services/web/pkg/config"
)
@@ -31,7 +33,7 @@ func DefaultConfig() *config.Config {
Name: "web",
},
Asset: config.Asset{
Path: "",
Path: filepath.Join(defaults.BaseDataPath(), "web/assets"),
},
Web: config.Web{
Path: "",