import APIClient from '@connect/api-client';

export default new APIClient('/portal/apiproxy/fouras', {
    mode: 'cors',
    cache: 'no-cache',
    credentials: 'include',
    headers: {
        Accept: 'application/json',
        'Content-Type': 'application/json',
        'Cache-Control': 'no-cache',
        Pragma: 'no-cache',
        'x-csrf-token': document.querySelector('meta[name="csrf_token"]').content,
        'x-request-id': window.ya.connect.initial.requestId,
        'x-client-version': window.ya.connect.config.app.version,
    },
});
