I'm using next-axiom with Next.js, and I would like to disable all configuration that proxies logging requests through my own domain. The new Vercel pricing doesn't make it worth it as we end up having to pay for each proxied request.

I would like to have an option that makes the reverse proxy opt in.
|
getLogsEndpoint(): string { |
|
return isBrowser ? `${this.proxyPath}/logs` : this.getIngestURL(EndpointType.logs); |
|
} |
|
|
|
getWebVitalsEndpoint(): string { |
|
return isBrowser ? `${this.proxyPath}/web-vitals` : this.getIngestURL(EndpointType.webVitals); |
|
} |
I'm using next-axiom with Next.js, and I would like to disable all configuration that proxies logging requests through my own domain. The new Vercel pricing doesn't make it worth it as we end up having to pay for each proxied request.
I would like to have an option that makes the reverse proxy opt in.
next-axiom/src/platform/generic.ts
Lines 26 to 32 in 7677543