use module constant for localhost base url