memos/server
ChaoLiu 7db3e02fe7 fix: resolve gRPC Gateway connection issue when server address is empty
When Profile.Addr is empty (default configuration), gRPC Gateway
attempts to connect to ":port" which fails on macOS with transport
errors. This fix defaults to "localhost" when no address is specified,
ensuring cross-platform compatibility.

- Fix gRPC connection format from ":port" to "localhost:port"
- Resolves API endpoint failures in development environment
- Maintains compatibility with explicit address configurations

Fixes connection error: "transport: Error while dialing: reading
server HTTP response: unexpected EOF"

Signed-off-by: ChaoLiu <chaoliu719@gmail.com>
2025-08-05 13:35:04 +08:00
..
profiler chore: fix linter 2025-05-27 23:22:32 +08:00
router fix: resolve gRPC Gateway connection issue when server address is empty 2025-08-05 13:35:04 +08:00
runner set HasCode only for CodeBlock (#4842) 2025-07-10 07:37:33 +08:00
server.go fix: disable profiler in production mode (#4925) 2025-07-29 19:22:41 +08:00