angular.js:12845 Access to XMLHttpRequest at 'file:///C:/xampp/htdocs/my%20stdeis/loction%20sec%20page.html' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
Asked
Active
Viewed 5,453 times
1 Answers
1
You are not using a supported protocol. As the error reads, only http, data, chrome, chrome-extension and https are supported. You however are trying to use "file".
I believe you can find the solution to your answer here.

M. Leferink
- 21
- 4