mirror of https://github.com/usememos/memos.git
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> |
||
|---|---|---|
| .. | ||
| profiler | ||
| router | ||
| runner | ||
| server.go | ||