HEX
Server: Microsoft-IIS/10.0
System: Windows NT HMW8635 10.0 build 14393 (Windows Server 2016) i586
User: ibratele2 (0)
PHP: 8.0.11
Disabled: escapeshellarg, escapeshellcmd, exec, passthru, proc_close, proc_open, shell_exec, system, dl, popen, php_check_syntax, php_strip_whitespace, symlink, link, openlog, apache_child_terminate
Upload Files
File: E:/Home/ibratele2/Web/wp-content/plugins/astra-sites/inc/lib/onboarding/assets/src/api.js
import cookieAuthApi from './wordpress-rest-api-cookie-auth';
const config = {
	rest_url: window.wpApiSettings.root,
	credentials: { nonce: window.wpApiSettings.nonce },
};

export default new cookieAuthApi( config );