Modify conf in main.js and add some supported file types in web.xml,