Trouble while deploying custom module via module builder

I am facing issue while deploying one of the custom module via module builder on my local server , As i checked the response it's showing 

'strict-origin-when-cross-origin' error . Below is the path of api : 

http://localhost/sugarlive/index.php?to_pdf=1&sugar_body_only=1&module=Administration&action=RebuildDashlets&silent=true

I have also checked by using below in .htaccess file but it did not work.

<IfModule mod_headers.c>
        Header set Access-Control-Allow-Origin "*"
</IfModule> 

Please suggest any solution.
Parents Reply Children