fix(avatar): sincroniza avatar apos atualizar
All checks were successful
All checks were successful
- 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:
parent
74c06ffa33
commit
8546a1feb1
6 changed files with 84 additions and 4 deletions
|
|
@ -5,6 +5,8 @@ if (typeof process !== "undefined" && process.versions?.node) {
|
|||
process.env.BETTER_AUTH_SECRET = process.env.BETTER_AUTH_SECRET ?? "test-secret"
|
||||
process.env.NEXT_PUBLIC_APP_URL = process.env.NEXT_PUBLIC_APP_URL ?? "http://localhost:3000"
|
||||
process.env.BETTER_AUTH_URL = process.env.BETTER_AUTH_URL ?? process.env.NEXT_PUBLIC_APP_URL
|
||||
process.env.DATABASE_URL =
|
||||
process.env.DATABASE_URL ?? "postgresql://postgres:postgres@localhost:5432/sistema_test?schema=public"
|
||||
}
|
||||
|
||||
export {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue