fix: domain plausible
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user