export const options = {
    credentials: 'include',
    headers: {
        'Content-Type': 'application/json',
        'X-Csrf-Token': document.head.querySelector('meta[name="csrf-token"]').content,
        'X-Requested-With': 'XMLHttpRequest',
    },
};

export const options = {
    credentials: 'same-origin',
    headers: {
        'Content-Type': 'application/json',
        'X-Csrf-Token': document.head.querySelector('meta[name="csrf-token"]').content,
        'X-Requested-With': 'XMLHttpRequest',
    },
};

include -> same-origin