memos/server/router/api/v1
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
..
test chore: update user settings 2025-07-27 23:12:42 +08:00
acl.go feat: sliding expiration for user sessions 2025-06-26 23:03:28 +08:00
acl_config.go chore: tweak auth service 2025-06-24 23:31:37 +08:00
activity_service.go feat(inbox): handles errors while fetching and adds possibility to delete items (#4908) 2025-07-23 14:21:26 +00:00
attachment_service.go chore: update get attachment binary 2025-06-23 21:20:59 +08:00
auth.go feat: sliding expiration for user sessions 2025-06-26 23:03:28 +08:00
auth_service.go chore: update user session table 2025-06-27 00:00:06 +08:00
auth_service_client_info_test.go chore: fix linter 2025-06-23 09:27:06 +08:00
common.go refactor: inbox service 2025-06-18 19:06:09 +08:00
health_service.go feat: implement grpc health service checking database connection (#4499) 2025-03-14 08:43:01 +08:00
idp_service.go chore: clean resource definition 2025-06-23 21:08:25 +08:00
inbox_service.go refactor: inbox service 2025-06-18 19:06:09 +08:00
logger_interceptor.go chore: rename router package 2024-05-01 10:28:32 +08:00
markdown_service.go feat: update ItalicNode to use repeated children instead of content (#4566) 2025-03-28 16:15:03 +08:00
memo_attachment_service.go refactor: attachment service part2 2025-06-18 00:09:19 +08:00
memo_relation_service.go chore: clean resource definition 2025-06-23 21:08:25 +08:00
memo_service.go refactor: memo filter 2025-07-23 22:10:16 +08:00
memo_service_converter.go refactor: attachment service 2025-06-17 22:15:19 +08:00
memo_service_filter.go refactor: deprecate old filter 2025-07-22 21:25:57 +08:00
reaction_service.go chore: clean resource definition 2025-06-23 21:08:25 +08:00
resource_name.go chore: fix linter 2025-07-29 19:20:59 +08:00
shortcut_service.go refactor: memo filter 2025-07-23 22:10:16 +08:00
test_auth.go fix: auth context 2025-06-22 22:58:00 +08:00
user_service.go chore: update user setting definition 2025-07-29 09:21:51 +08:00
user_service_stats.go chore: update user settings 2025-07-27 23:12:42 +08:00
v1.go fix: resolve gRPC Gateway connection issue when server address is empty 2025-08-05 13:35:04 +08:00
workspace_service.go chore: enable memo comments by default 2025-07-29 22:31:18 +08:00