Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc686fa987
|
||
|
|
ea4b5a2353
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@memegoat/backend",
|
||||
"version": "1.10.3",
|
||||
"version": "1.10.4",
|
||||
"description": "",
|
||||
"author": "",
|
||||
"private": true,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@memegoat/frontend",
|
||||
"version": "1.10.3",
|
||||
"version": "1.10.4",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
import * as Sentry from "@sentry/nextjs";
|
||||
|
||||
Sentry.init({
|
||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
|
||||
// Ajustez ces valeurs en production
|
||||
tracesSampleRate: 1.0,
|
||||
|
||||
// Replay est activé par défaut
|
||||
replaysSessionSampleRate: 0.1,
|
||||
replaysOnErrorSampleRate: 1.0,
|
||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
|
||||
integrations: [
|
||||
Sentry.replayIntegration({
|
||||
maskAllText: true,
|
||||
blockAllMedia: true,
|
||||
}),
|
||||
],
|
||||
// Ajustez ces valeurs en production
|
||||
tracesSampleRate: 1.0,
|
||||
|
||||
// Protection PII
|
||||
sendDefaultPii: false,
|
||||
// Replay est activé par défaut
|
||||
replaysSessionSampleRate: 0.1,
|
||||
replaysOnErrorSampleRate: 1.0,
|
||||
|
||||
integrations: [
|
||||
Sentry.replayIntegration({
|
||||
maskAllText: true,
|
||||
blockAllMedia: true,
|
||||
}),
|
||||
],
|
||||
|
||||
// Protection PII
|
||||
sendDefaultPii: false,
|
||||
});
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import * as Sentry from "@sentry/nextjs";
|
||||
|
||||
Sentry.init({
|
||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
|
||||
// Ajustez ces valeurs en production
|
||||
tracesSampleRate: 1.0,
|
||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
|
||||
// Protection PII
|
||||
sendDefaultPii: false,
|
||||
// Ajustez ces valeurs en production
|
||||
tracesSampleRate: 1.0,
|
||||
|
||||
// Protection PII
|
||||
sendDefaultPii: false,
|
||||
});
|
||||
|
||||
@@ -2,21 +2,21 @@ import { createHash } from "node:crypto";
|
||||
import * as Sentry from "@sentry/nextjs";
|
||||
|
||||
Sentry.init({
|
||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
|
||||
// Ajustez ces valeurs en production
|
||||
tracesSampleRate: 1.0,
|
||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
|
||||
// Protection PII
|
||||
sendDefaultPii: false,
|
||||
|
||||
beforeSend(event) {
|
||||
// Hachage de l'IP utilisateur pour Sentry si elle est présente
|
||||
if (event.user?.ip_address) {
|
||||
event.user.ip_address = createHash("sha256")
|
||||
.update(event.user.ip_address)
|
||||
.digest("hex");
|
||||
}
|
||||
return event;
|
||||
},
|
||||
// Ajustez ces valeurs en production
|
||||
tracesSampleRate: 1.0,
|
||||
|
||||
// Protection PII
|
||||
sendDefaultPii: false,
|
||||
|
||||
beforeSend(event) {
|
||||
// Hachage de l'IP utilisateur pour Sentry si elle est présente
|
||||
if (event.user?.ip_address) {
|
||||
event.user.ip_address = createHash("sha256")
|
||||
.update(event.user.ip_address)
|
||||
.digest("hex");
|
||||
}
|
||||
return event;
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@memegoat/source",
|
||||
"version": "1.10.3",
|
||||
"version": "1.10.4",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"version:get": "cmake -P version.cmake GET",
|
||||
|
||||
Reference in New Issue
Block a user