shepelt / meteor-my-force-ssl

Fork of meteor's internal force-ssl package that only activates if FORCE_SSL env var is set

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is my version of force-ssl, forked from https://github.com/meteor/meteor/tree/4daaa76b1291f8331cb727610d4aa79eae64b31e/packages/force-ssl

It's exactly the same except that it is only enabled if the environment variable FORCE_SSL is set.

The if statement is in the Package.onUse so make sure if you're building locally for remote deployment, you set FORCE_SSL there.

For example if you're using meteor up you should use FORCE_SSL=1 mup deploy which will build with force-ssl enabled

About

Fork of meteor's internal force-ssl package that only activates if FORCE_SSL env var is set

License:MIT License


Languages

Language:JavaScript 100.0%