thinkphp icon indicating copy to clipboard operation
thinkphp copied to clipboard

How to enable CROSS

Open mohitmdn opened this issue 8 years ago • 1 comments

Hello,

I am trying to enable CROSS domains but i am not able to do this. how i can enable cross for controllers.

Thanks

mohitmdn avatar Nov 21 '16 15:11 mohitmdn

you should add this code on your entry file header("Access-Control-Allow-Origin: *");

ggg17226 avatar Feb 08 '17 06:02 ggg17226