ASP.Net Core. Detect if configured for https on starup?

前端 未结 0 633
粉色の甜心
粉色の甜心 2021-02-01 22:53

I have a .net ASP Core 2.1 app. The app can be setup via HTTP or HTTPs. In startup, I need to set the options.Cookie.SameSite to SameSite.None if we\'re running https, or -1 if

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