2025-12-11 17:22:26 +01:00
|
|
|
import './app.scss'
|
|
|
|
|
import * as Turbo from "@hotwired/turbo"
|
|
|
|
|
|
2026-01-15 20:42:55 +01:00
|
|
|
|
|
|
|
|
// --- INITIALISATION SENTRY (En premier !) ---
|
|
|
|
|
Sentry.init({
|
|
|
|
|
dsn: "https://803814be6540031b1c37bf92ba9c0f79@sentry.esy-web.dev/24",
|
|
|
|
|
tunnel: "/sentry-tunnel",
|
|
|
|
|
sendDefaultPii: true,
|
|
|
|
|
integrations: [
|
|
|
|
|
Sentry.browserTracingIntegration(),
|
|
|
|
|
Sentry.replayIntegration()
|
|
|
|
|
],
|
|
|
|
|
tracesSampleRate: 1.0,
|
|
|
|
|
tracePropagationTargets: ["localhost", "esy-web.dev"], // Remplace par ton domaine réel
|
|
|
|
|
replaysSessionSampleRate: 0.1,
|
|
|
|
|
replaysOnErrorSampleRate: 1.0
|
|
|
|
|
});
|
2025-12-11 17:22:26 +01:00
|
|
|
|
|
|
|
|
// --- INITIALISATION DES COMPOSANTS APRÈS TURBO/CHARGEMENT ---
|
|
|
|
|
document.addEventListener('DOMContentLoaded', ()=>{
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
2026-01-15 18:23:53 +01:00
|
|
|
document.addEventListener('turbo:load', () => {
|
2025-12-09 17:11:08 +01:00
|
|
|
|
2025-12-11 17:22:26 +01:00
|
|
|
});
|