| Current Path : /var/www/html/eva.sumar.com.py/vendor/livewire/livewire/js/util/ |
| Current File : /var/www/html/eva.sumar.com.py/vendor/livewire/livewire/js/util/getCsrfToken.js |
export function getCsrfToken() {
const tokenTag = document.head.querySelector('meta[name="csrf-token"]')
if (tokenTag) {
return tokenTag.content
}
return window.livewire_token ?? undefined
}