add test story

This commit is contained in:
2025-06-14 21:28:46 +07:00
parent 77854681a0
commit 3a2980e9d0
7 changed files with 50 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
package config
import "os"
func GetStoryFilePath() string {
storyFilename := os.Getenv("STORY_FILENAME")
if storyFilename != "" {
return storyFilename
}
return "./data/story/story.json"
}