OS Name/Version: Windows Server 2019
Product Name/Version: McMyAdmin 3 / w AMP 1.9.2.1
Problem Description:
Trying to access the web pannel from my website using Cross-origin resource sharing.
Gives out error:
No 'Access-Control-Allow-Origin' header is present on the requested resource
Steps to reproduce:
1- Open another website
2- Enter this javascript code:
$(document).ready(function () {
$('#siteloader').load("https://www.DOMAIN01.ca:8080/");
});
3- Look at the console it gives you this error:
McMyAdmin:1 Access to XMLHttpRequest at 'https://www.DOMAIN01.com:8080/' from origin 'https://www.DOMAIN01.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Actions taken to resolve so far: Tried to find the config for the web server of McMyAdmin didn't find any.