| Path : /var/www/html/phkaymedia/vendor/livewire/livewire/js/util/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : //var/www/html/phkaymedia/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
}