Use the correct url in debug mode