fix: resolve network mode SSE and logging issues

- Fixes 404 errors on /sse and /message endpoints in network mode.
- Updates dev container and go.mod to use a compatible Go version.
- Restores and improves startup logging for all transport modes.
This commit is contained in:
b3nw
2025-07-14 02:01:29 +00:00
parent f714887d1c
commit c2fac7754c
3 changed files with 30 additions and 10 deletions

View File

@@ -45,7 +45,7 @@ func Default() *zap.Logger {
MaxAge: 30,
}))
if flag.Mode == "http" || flag.Mode == "sse" {
if flag.Mode == "http" || flag.Mode == "sse" || flag.Mode == "network" {
wss = append(wss, zapcore.AddSync(os.Stdout))
}