Correct BASE_URL index to correctly recive PDFs