Skip to content

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

Description

@batv45

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions