Default.json's "secure" setting should ignore localhost

0
0

I may want to use the “secure” setting in default.json to force SSL, however, it should not attempt to do so on localhost.  This results in browser warnings while debugging, and localhost already has permissions without SSL.  I am interested however, in forcing “secure” on production when I publish the project.

  • You must to post comments
0
0

Hi Andrew,

Wisej will pick up whatever is defined for “secure” in default.json.
So if you intend to disable it for local debugging, you need to adjust your default.json accordingly.

Best regards
Frank

  • You must to post comments
0
0

Hi Andrew
I don’t understand well your problem
In development you can change the default.json parameter to “secure”: false and when you publish to production change to “secure”: true
¿do you have troubles to run the app en production with SSL?

Best regards
Paul

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.