add static files to the public foder and the index root