MailHog的web界面显示空白
1. 运行环境
MacOS
//: <> (当前使用的Go
版本,及系统版本、系统架构?)
go version go1.20.7 darwin/arm64
//: <> (使用go version
命令查看,期望的结果如:go 1.12, linux/amd64
)
2. 问题描述?
bash-3.2$ MailHog
2023/08/10 11:18:27 Using in-memory storage
2023/08/10 11:18:27 [SMTP] Binding to address: 0.0.0.0:1025
[HTTP] Binding to address: 0.0.0.0:8025
2023/08/10 11:18:27 Serving under 0.0.0.0:8025/
Creating API v1 with WebPath:
Creating API v2 with WebPath:
[APIv1] KEEPALIVE /api/v1/events
3. 您期望得到的结果?
4. 您实际得到的结果?
//: <> (有报错信息的话把堆栈信息提供出来)
localhost:8025/ chrome或firefox需要使用127.0.0.1或localhost
MailHog -smtp-bind-addr 0.0.0.0:1028 -api-bind-addr 127.0.0.1:8026 -ui-bind-addr 127.0.0.1:8026 我这样就行了