I am getting CSRF token error, how to resolve that issue?

Hear what ever i created new APIs, I am getting Response like this

	<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />

		rel="shortcut icon"
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<script type="module" crossorigin src="/assets/turiya_app/turiya/assets/index-2aa17b24.js"></script>
	<link rel="stylesheet" href="/assets/turiya_app/turiya/assets/index-7e4036b6.css">
	<div id="root"></div>
		window.csrf_token = "None";

my common site config file, i added ignore_csrf token. I am using react in frappe.
Help me how to solve this.

“allow_cors”: “*”,
“background_workers”: 1,
“dns_multitenant”: true,
“file_watcher_port”: 6787,
“frappe_types_pause_generation”: 0,
“frappe_user”: “ubuntu”,
“gunicorn_workers”: 5,
“ignore_csrf”: 1,
“live_reload”: true,
“maintenance_mode”: 0,
“pause_scheduler”: 0,
“rebase_on_pull”: false,
“redis_cache”: “redis://”,
“redis_queue”: “redis://”,
“redis_socketio”: “redis://”,
“restart_supervisor_on_update”: true,
“restart_systemd_on_update”: false,
“serve_default_site”: true,
“shallow_clone”: true,
“socketio_port”: 9000,
“use_redis_auth”: false,
“webserver_port”: 8000
~ ~

Did you try to restart your bench?

I tried bench restart
whenever we calling api i am getting this only sir. How to solve. Any access or permission we need to give for api access. What i did means i moved one existing app with react setup to new site.
I created new api in that app means i am getting this error. For exisiting code everything working properly. For new code only i am getting this how to solve this sir? please help