diff options
Diffstat (limited to 'internal/sitemap/sitemap.go')
-rw-r--r-- | internal/sitemap/sitemap.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/sitemap/sitemap.go b/internal/sitemap/sitemap.go index a38e277..a45ebd9 100644 --- a/internal/sitemap/sitemap.go +++ b/internal/sitemap/sitemap.go @@ -13,9 +13,9 @@ type Sitemap struct { Sitemap *sitemap.Sitemap } -func New(cfg config.Config) *Sitemap { +func New(cfg *config.Config) *Sitemap { return &Sitemap{ - config: &cfg, + config: cfg, Sitemap: sitemap.New(), } } |