WordPress LMS for Web and mobile Forums Ionic App Support Access-Control-Allow-Origin

Access-Control-Allow-Origin

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35461

    Dante
    Participant
    After running ionic serve in inspect mode shows some errors like: Access to XMLHttpRequest at 'https://interlan.app/wp-content/uploads/2019/09/Basic-Course-icon.jpg' from origin 'http://localhost:8100' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource what is this ? should I add some code to .htaccess? I added some codes but did not solve it like :
    Header add Access-Control-Allow-Origin "*"
    Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
    Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"
    
    #35678

    WPLMS
    Keymaster
    Install the Google chrome allow cors extension and use it while building the app. This is browser restriction because app is running on localhost:8100 and pulling data from yoursite.com which is restricted by browser.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
izmir escort antalya escort izmir escort antalya escort izmir escort bursa escort porno izle porno izle porno izle escort istanbul ofis escort
paperio
istanbul Evden Eve Nakliyat istanbul Evden Eve Nakliyat
gaziantep escort
London Escorts

ankara escort bayan

Erken bosalma ve cinsel iktidarsizlik sorununu cozen kamagra oral jel icin sitemizden siparis verin

kamagra kapıda ödeme garantisi ve kamagra 100 mg kullanımına dair tüm bilgileri internet sayfamızdan bulabilirsiniz. Üstün bir cinsel hayat için en çok tercih edilen ürünlerden olan kamagra jel hakkında bilgi almak için ziyaret edin.