Dealing with CORS error


I want to transform my plugin, I’m getting rid of my Python’s Flask server.
I’ve read A LOT about CORS errors, I know that I can use a proxy or use a node server BUT I want my plugin to be fully independent.

I tried to modify grafana.ini byt there is nothing about CORS, can someone help me ?