Add data in front of index name
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2020-06-30 23:16:24 +02:00
parent 62bad5ec91
commit 823f6e668a

View File

@ -821,7 +821,7 @@ func main() {
*baseurl = strings.TrimRight(*baseurl, "/") + "/"
redirectURI = fmt.Sprintf("%sauth/callback", *baseurl)
indexFilename := "index.bleve"
indexFilename := "data/index.bleve"
var searchIndex bleve.Index
if _, err := os.Stat(indexFilename); os.IsNotExist(err) {