去除中间件处理静态文件代码，提高兼容性

Signed-off-by: shadowedge <gulixing@msn.com>