support oss public mode
Merge pull request #8 from cnpm/public-mode

support oss public mode