Update README config section

This commit is contained in:
2024-12-27 16:55:56 +01:00
parent 2861b1a719
commit 5079f3c96d
3 changed files with 3 additions and 9 deletions

View File

@@ -16,7 +16,6 @@ type Config struct {
WorkDir string
StaticPath string
Port string
RootURL string
Domain string
CORSOrigins []string
AdminEmail string
@@ -90,10 +89,6 @@ func LoadConfig() (*Config, error) {
config.Port = port
}
if rootURL := os.Getenv("LEMMA_ROOT_URL"); rootURL != "" {
config.RootURL = rootURL
}
if domain := os.Getenv("LEMMA_DOMAIN"); domain != "" {
config.Domain = domain
}