configure basepath to fix online website