Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
batv45 opened this issue Aug 11, 2022 · 0 comments
Open

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

batv45 opened this issue Aug 11, 2022 · 0 comments

Comments

@batv45
Copy link

batv45 commented Aug 11, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant