Added if statement for displaying url in production.