Giter Club home page Giter Club logo

Comments (6)

aerosol avatar aerosol commented on May 28, 2024

I have reproduced the issue and will get back to you.

from analytics.

aerosol avatar aerosol commented on May 28, 2024

Hi @codemonkey800

I think the problem originates from this package: https://www.npmjs.com/package/axios-cache-interceptor?activeTab=readme

Please see https://github.com/arthurfiorette/axios-cache-interceptor/blob/ad69e6d6e491cfa5fe2cb542bc90fd205fc823e3/docs/src/config/request-specifics.md#cachecachetakeover

in particular this bit:

image

Please try the fallback suggested and see if the OPTIONS XHR requests are handled then.

from analytics.

aerosol avatar aerosol commented on May 28, 2024

FWIW the problem occurs only for that button:

image

and not that one:

image

Even though both trigger a new tab link.
That should help you figure out the difference

from analytics.

metmarkosaric avatar metmarkosaric commented on May 28, 2024

closing this now but feel free to contact our support if you have any further questions

from analytics.

awacode21 avatar awacode21 commented on May 28, 2024

@metmarkosaric i am struggling with the same issue. What exactly is meant with the fallback?

from analytics.

awacode21 avatar awacode21 commented on May 28, 2024

i am using Plausible with vercel. Does that look like the correct setting?

//vercel.json

{
    "headers": [
        {
            "source": "/(.*)",
            "headers": [
                {
                    "key": "Cache-Control",
                    "value": "max-age=0, s-maxage=86400, stale-while-revalidate=59"
                },
                {
                    "key": "Access-Control-Allow-Headers",
                    "value": "Cache-Control, Pragma, Expires"
                }
            ]
        }
    ]
}

from analytics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.