→ Lomonosov: 重點 cors preflight 可以上mdn看 06/10 00:36
我大概理解概念 但不知怎麼實作解決 是要在JavaScript程式前面加類似這段的程式碼嗎?
http://i.imgur.com/q1TtvAp.jpg
※ 編輯: teeheehee (39.11.33.110 臺灣), 06/10/2020 09:13:30
→ Lomonosov: 不是 這東西只能後端解決 你得做處理OPTION請求 06/10 19:30
好的 我會去找laravel的CORS設定
※ 編輯: teeheehee (39.11.33.110 臺灣), 06/10/2020 19:40:21
→ teeheehee: 這個解法 我還在研究中 06/10 20:07
→ teeheehee: -using-jwt-authentication-tutorial-from-scratch-exa 06/10 20:07
→ teeheehee: mpleexample.html 06/10 20:07
推 localhost: 跨域的問題 06/10 21:34
不是很了解 為什麼ajax會有跨域問題 不是在同個網域下嗎?
※ 編輯: teeheehee (39.12.64.82 臺灣), 06/12/2020 08:58:19
→ AndCycle: 你的 savecomment 打回來一個轉址啊 06/12 15:36
我程式碼其實沒做轉址的動作 還是是ajax的機制?
http://i.imgur.com/KR0wfpT.jpg
※ 編輯: teeheehee (39.10.43.77 臺灣), 06/12/2020 16:43:41