fix: domain plausible

This commit is contained in:
2026-06-15 21:05:48 -03:00
parent 89eed44b49
commit 7ef0aeef71
7 changed files with 27 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
const PLAUSIBLE_API = import.meta.env.VITE_PLAUSIBLE_API || 'http://localhost/api/event';
const DOMAIN = import.meta.env.VITE_PLAUSIBLE_DOMAIN || 'myapp-dev';
const PLAUSIBLE_API = import.meta.env.VITE_PLAUSIBLE_API;
const DOMAIN = import.meta.env.VITE_PLAUSIBLE_DOMAIN;
const sendEvent = (payload) => {
const controller = new AbortController();