How to change settings in buffalo to not use ssl in production?

Hello , I’m a beginer with Buffalo framework and I try to change settings to not use SSL in production environment .
In app.go I have commented the following line : // Automatically redirect to SSL


and set
var ENV = envy.Get(“GO_ENV”, “production”)
In .env I have added the following line of code:
. BUT when I build the executable still open the url of the site with SSL added. What should I do to remove this automatic add of SSL to the production environment ?

Problem solved! It was browser cache wich prevented me to see the changes .

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.