wafer2-startup icon indicating copy to clipboard operation
wafer2-startup copied to clipboard

开发环境中无法通过koajs获得请求的ip地址

Open qszhu opened this issue 7 years ago • 0 comments

通过ctx.request.ip得到的值为localhost地址,目测使用了反向代理。能否加入相关的header如X-Forwarded-For或类似的自定义http头?

qszhu avatar Sep 05 '17 14:09 qszhu