B4X FEED [BANano] [B4J] The dreaded CORS exception

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: [BANano] [B4J] The dreaded CORS exception است. این موضوع تا کنون 36 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع [BANano] [B4J] The dreaded CORS exception
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
36
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I've spent many hours trying to eliminate CORS issues to no avail. I have a browser with security disable to get around it so I can test.

Here's the exception in the browser Console:

Access to fetch at ' ' from origin 'null' has been blocked by CORS policy: 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.

It occurs using any client (Chrome, Echo, Brave, etc.). The only thing common, in my case, is I'm using JETTY on the server side as the it's B4J. I get the same issue with Vue.js or BANano as the browser client.

Thank

 

عقب
بالا