Express HTTPS redirect Potential Security Risk Ahead with Godaddy and Heroku

后端 未结 0 1029
刺人心
刺人心 2021-01-04 11:25

I am using the following codes to forward any http connection to https in my Express web app:

app.use((req, res, next) => {
  if (process.env.NODE_ENV ===          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题