salvadordf / CEF4Delphi

CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
https://www.briskbard.com/forum/
Other
1.2k stars 365 forks source link

CORS script #436

Closed qiuyan81 closed 1 year ago

qiuyan81 commented 1 year ago

Access to script at 'http://localhost:8000/CLodopfuncs.js?priority=1' from origin 'http://www.xxx.xyz' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space local.

qiuyan81 commented 1 year ago

GlobalCEFApp.DisableWebSecurity := True; problem solved