diff options
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index f4baeef..e6bc19a 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -26,6 +26,7 @@ type Config struct { MigrationDir string TemplateDir string StaticDir string + DocsDir string // root of superpowers spec/plan docs, served read-only at /docs // Server Port string @@ -72,6 +73,7 @@ func Load() (*Config, error) { MigrationDir: getEnvWithDefault("MIGRATION_DIR", "migrations"), TemplateDir: getEnvWithDefault("TEMPLATE_DIR", "web/templates"), StaticDir: getEnvWithDefault("STATIC_DIR", "web/static"), + DocsDir: getEnvWithDefault("DOCS_DIR", "docs/superpowers"), // Server Port: getEnvWithDefault("PORT", "8080"), |
