Access to fetch at 'file:///C:/Users/Administrator/Downloads/EasyAR-WebAR-Demo/EasyAR-WebAR-Demo-master/html/TokenThreeJsExample/Client-end%20(Target%20Recognition)%20URL' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.
还有请问 POST 报错 405 (Method Not Allowed)是因为啥啊,在本地运行的
- {timestamp: '2022-03-21T03:30:02.054+0000', status: 405, error: 'Method Not Allowed', message: "Request method 'POST' not supported", path: '/'}
- error: "Method Not Allowed"
- message: "Request method 'POST' not supported"
- path: "/"
- status: 405
- timestamp: "2022-03-21T03:30:02.054+0000"