1
私はこのエラーを取得しています:イオンXHRはロードが失敗しました:POST
XMLHttpRequest cannot load http://localhost/authproject/public/api/auth/login. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8101' is therefore not allowed access.
ionic.bundle.js:15567 XHR failed loading: POST
誰かがどのように私はこれを解決するのです教えてもらえますか?
私は許可-Controlキーを許可-起源を追加しましたが、私は – Sarah
は私が@Sondes –
が、それは動作しますあなたの@Prashant Ghimireを考えて追加画像を確認してください、私のブラウザでそれを有効にする方法、それを有効にしないでください:) – Sarah