2025-06-14 21:28:46 +07:00

12 lines
196 B
Go

package config
import "os"
func GetStoryFilePath() string {
storyFilename := os.Getenv("STORY_FILENAME")
if storyFilename != "" {
return storyFilename
}
return "./data/story/story.json"
}