Fixed base_url in library/index

The action could be something else if detached