[DEL] docs(file/topic): Supprime favicon et manifest inutilisés.
[FEAT] feat(file/topic): Ajoute PWA bundle et CSP pour la sécurité.
```
This commit is contained in:
Serreau Jovann
2026-01-25 11:56:39 +01:00
parent a3cea3c821
commit 65925bdf82
136 changed files with 1080 additions and 604 deletions

View File

@@ -1,7 +1,7 @@
import './app.scss'
import * as Turbo from "@hotwired/turbo"
import '@grafikart/drop-files-element'
import {PaymentForm} from './PaymentForm'
import {PaymentForm} from './PaymentForm.js'
import * as Sentry from "@sentry/browser";
// --- CONFIGURATION ET ETAT ---
@@ -244,10 +244,6 @@ document.addEventListener('DOMContentLoaded', () => {
window.chatwootSDK.run({ websiteToken: '6uFX3g3qybyvSt3PAQUMgkm4', baseUrl: BASE_URL_WOOT });
};
}
const env = document.querySelector('meta[name="env"]');
if (env && env.getAttribute('content') === "prod" && 'serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js');
}
});
document.addEventListener('turbo:load', () => {