适配oschina演示平台

Signed-off-by: Li Xia <xautlx@hotmail.com>