修正referer不存在时的问题
req.url -> req.path
Merge branch 'server'
fix bugs
Merge branch 'server'