f / fatura

eArşiv / eFatura Fatura Oluşturucu

Home Page:https://earsivportal.efatura.gov.tr/intragiris.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No 'Access-Control-Allow-Origin' hatası

batv45 opened this issue · comments

nuxi dev --https komutu ile https olarak başlatıyorum sunucuyu ama getToken() çalıştırınca yinede bu hatayı veriyor Chrome Network tablosundan bağlantıya bakıyorum Referer: https://localhost:3000/faturalar Header'ını chrome sanırım otomatik değiştiriyor. O halde bu kütüphaneyi nasıl kullanıcam vue uygulamamda sanırım ben biryerde hata yapıyorum ?

Access to fetch at 'https://earsivportal.efatura.gov.tr/earsiv-services/assos-login' from origin 'https://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.