From 7707580ed535afc3f5e6e26c9f85d5c9b7fdb9bb Mon Sep 17 00:00:00 2001 From: Matt Dunn-Rankin Date: Mon, 16 Apr 2018 20:36:50 -0700 Subject: [PATCH] Update Neopia URLs to use HTTPS We recently flipped the switch for various hosts to force HTTPS, yay! This includes `neopia.openneo.net`. However, I forgot to change the URL scheme in this file. This meant that the form submit from the homepage would go to `http://neopia.openneo.net/`, then redirect to `https://neopia.openneo.net/`, but only preserve the form data in certain browsers. This change should fix that! Note: This probably breaks the dev environment, where we don't have a cert for `https://neopia.dev.openneo.net`. I'll fix that some other time! --- app/helpers/outfits_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/outfits_helper.rb b/app/helpers/outfits_helper.rb index ac687c17..cbc030cc 100644 --- a/app/helpers/outfits_helper.rb +++ b/app/helpers/outfits_helper.rb @@ -55,7 +55,7 @@ module OutfitsHelper end def remote_load_pet_path - "http://#{neopia_host}/api/1/pet/customization" + "https://#{neopia_host}/api/1/pet/customization" end def render_predicted_missing_species_by_color(species_by_color)