Is it okay to use “if” for setting CORS headers?

后端 未结 0 812
伪装坚强ぢ
伪装坚强ぢ 2021-01-16 05:52

The common solution to handling CORS requests is as follow:

location ... {
    add_header  Access-Control-Allow-Origin       ...;
    add_header  Access-Contr         


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