Plugs.HTTPSecurityPlug: Activate upgrade-insecure-requests only when there is https
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Mon, 26 Nov 2018 20:40:29 +0000 (21:40 +0100)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Mon, 26 Nov 2018 20:41:36 +0000 (21:41 +0100)
commit04daa0fa4473075c873aa733e4e2876c557b0444
tree98c121f32aa41b75f4356f86d4ac14c6b22f6983
parent3370924b8ba87354249182694cfa3b598a66e6de
Plugs.HTTPSecurityPlug: Activate upgrade-insecure-requests only when there is https

This fixes running mastofe with MIX_ENV=dev
lib/pleroma/plugs/http_security_plug.ex