Feat: Extracting Cart and Checout from 3dealer

This commit is contained in:
arvanitakis committed 2026-09-25 20:19:11 +03:00
1 parent ccab9bbb8e
commit 547f07f01e
30 files changed
+3905

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
// Reads the CSRF token from the standard <meta name="csrf-token"> tag every
// boboko host renders in its layout <head>. Kept as its own module so both
// checkout controllers share one source.
export function csrfToken() {
return document.querySelector('meta[name="csrf-token"]')?.getAttribute('content') || ''
}