fix(avatar): sincroniza avatar apos atualizar
All checks were successful
CI/CD Web + Desktop / Detect changes (push) Successful in 5s
CI/CD Web + Desktop / Deploy (VPS Linux) (push) Successful in 3m51s
CI/CD Web + Desktop / Deploy Convex functions (push) Has been skipped
Quality Checks / Lint, Test and Build (push) Successful in 4m14s

- Propaga Set-Cookie do Better Auth no endpoint de avatar\n- Forca refresh da sessao apos upload/remocao\n- Adiciona teste de propagacao e defaults de env para testes
This commit is contained in:
rever-tecnologia 2025-12-17 10:38:07 -03:00
parent 74c06ffa33
commit 8546a1feb1
6 changed files with 84 additions and 4 deletions

View file

@ -10,6 +10,9 @@ const convexDir = path.resolve(__dirname, "./convex")
const isCI = process.env.CI === "true"
const isBrowserRun = process.env.VITEST_BROWSER === "true"
process.env.DATABASE_URL =
process.env.DATABASE_URL ?? "postgresql://postgres:postgres@localhost:5432/sistema_test?schema=public"
export default defineConfig({
root: __dirname,
plugins: [tsconfigPaths()],