跨域 nginx设置
http{
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers X-Requested-With,Origin,
Content-Type, Accept
;
add_header Access-Control-Allow-Methods GET,POST,OPTIONS,PUT,DELETE;
}
跨域 nginx设置
http{
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers X-Requested-With,Origin,
Content-Type, Accept
;
add_header Access-Control-Allow-Methods GET,POST,OPTIONS,PUT,DELETE;
}