:::

7-4 跨域設定

  1. 開啟 「網站」==>「設置」==>「配置文件」==>「倒數第三行」當中保存並重載 Nginx 配置即可。
        add_header Access-Control-Allow-Origin *;
        add_header Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept";
        add_header Access-Control-Allow-Methods "GET, POST, OPTIONS";

     

  2. 如:

:::

書籍目錄

展開 | 闔起

http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D51%26tbdsn%3D1758

計數器

今天: 1267126712671267
昨天: 1416141614161416
總計: 7339914733991473399147339914733991473399147339914