Changing path for static files to be in endpoints