add static website dir and api dir