1
0
Fork 0
forked from OpenNeo/impress

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!
This commit is contained in:
Matt Dunn-Rankin 2018-04-16 20:36:50 -07:00 committed by GitHub
parent 711aca0008
commit 7707580ed5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ module OutfitsHelper
end end
def remote_load_pet_path def remote_load_pet_path
"http://#{neopia_host}/api/1/pet/customization" "https://#{neopia_host}/api/1/pet/customization"
end end
def render_predicted_missing_species_by_color(species_by_color) def render_predicted_missing_species_by_color(species_by_color)