f / f/fatura

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

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
669
Forks
100
Avg merge
6h 40m
Merged PRs (30d)
1

Description

`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. `

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.