No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. vesko
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 0
    • Groups 0

    vesko

    @vesko

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    vesko Follow

    Latest posts made by vesko

    • XMLHttpRequest cannot load <url> due to access control checks [IOS]

      Hello,

      I’m trying to make a http request to local network and I received the following error:

      Preflight response is not successful
      XMLHttpRequest cannot load <url> due to access control checks.
      Failed to load resource: Preflight response is not successful
      

      My request:

      axios
       .get('<url>')
       .then(res => {
        console.log(res)
       }).catch((err) => {
        if (err.status === 500) {
         // error
        } else {
         // error
        }
       })
      

      I tried to set some headers to this request like Access-Control-Allow-Origin, Access-Control-Allow-Headers, Access-Control-Allow-Methods. Unfortunately it didn’t work.

      This issue is only in iOS app. In android app or browsers the request works properly.

      Can anyone help me? Thanks!

      posted in Help
      V
      vesko
    • Writing test on dev environment (localhost:3002)

      Hello!

      I’m using vuejs + quasar on the frontend and laravel on the backend. I tried a few ways to write a test (vue-utils, laravel dusk, testcafe), but I always receive in my tests “request is failed” or “cannot found an element”. So my quesion is it possible to write a test on this address, or I should build quasar and to create a root /var/www/frontend/dist/spa/ in my caddy configuration.

      Thank you!

      posted in Help
      V
      vesko