Skip to content
On this page

主应用访问子应用跨域

shell
location / {
  ...
  add_header Access-Control-Allow-Origin *;
  add_header Access-Control-Allow-Methods "GET, POST, OPTIONS";
}

更新时间: