From 45cf7c55f414c449a7259dbd659b051aac8cc3d5 Mon Sep 17 00:00:00 2001 From: Hein Date: Wed, 4 Feb 2026 14:07:23 +0200 Subject: [PATCH] =?UTF-8?q?fix(config):=20=F0=9F=90=9B=20Update=20server?= =?UTF-8?q?=20host=20to=200.0.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/config/config.go | 2 +- pkg/whatshooked/whatshooked.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 3ede490..f0761a4 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -149,7 +149,7 @@ func Load(path string) (*Config, error) { cfg.LogLevel = "info" } if cfg.Server.Host == "" { - cfg.Server.Host = "localhost" + cfg.Server.Host = "0.0.0.0" } if cfg.Server.Port == 0 { cfg.Server.Port = 8025 diff --git a/pkg/whatshooked/whatshooked.go b/pkg/whatshooked/whatshooked.go index 5849ded..243371a 100644 --- a/pkg/whatshooked/whatshooked.go +++ b/pkg/whatshooked/whatshooked.go @@ -44,7 +44,7 @@ func NewFromFile(configPath string) (*WhatsHooked, error) { func New(opts ...Option) (*WhatsHooked, error) { cfg := &config.Config{ Server: config.ServerConfig{ - Host: "localhost", + Host: "0.0.0.0", Port: 8025, }, Media: config.MediaConfig{