Fixes local url in index