From 823f6e668af1c8045869fbfc64fea29aac224920 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Tue, 30 Jun 2020 23:16:24 +0200 Subject: [PATCH] Add data in front of index name --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 91191ba..65027a3 100644 --- a/main.go +++ b/main.go @@ -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) {