mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-16 12:57:58 +08:00
Change ENV_SHIORI_DIR to SHIORI_DIR to prevent stutter
This commit is contained in:
parent
106266e87d
commit
cc097f50c8
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ func init() {
|
|||
|
||||
func getDataDirectory() string {
|
||||
// Try to look at environment variables
|
||||
dataDir, found := os.LookupEnv("ENV_SHIORI_DIR")
|
||||
dataDir, found := os.LookupEnv("SHIORI_DIR")
|
||||
if found {
|
||||
return dataDir
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue