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,2 +1,2 @@
VITE_PLAUSIBLE_API=https://plausible.mtst.tec.br/api/event
VITE_PLAUSIBLE_DOMAIN=https://decoda.mtst.tec.br
VITE_PLAUSIBLE_DOMAIN=decoda.mtst.tec.br

View File

@@ -3,7 +3,7 @@ FROM node:20-alpine AS builder
WORKDIR /app
ARG GIT_COMMIT_HASH=unknown
ARG APP_VERSION=1.2.0
ARG APP_VERSION=1.2.1
ENV VITE_APP_VERSION=$APP_VERSION
ENV VITE_GIT_HASH=$GIT_COMMIT_HASH

View File

@@ -2,7 +2,7 @@
"name": "decoda",
"private": true,
"description": "Aplicação educacional desenvolvida para ensino de programação básica e letramento digital",
"version": "1.2.0",
"version": "1.2.1",
"main": "main.cjs",
"homepage": "./",
"type": "module",

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();

File diff suppressed because one or more lines are too long