Aurora icon indicating copy to clipboard operation
Aurora copied to clipboard

Cross domain access to CDN resources

Open ghost opened this issue 1 year ago • 1 comments

Cross domain access to CDN resources Overview your URLs and CORS policies or use DarkReader.setFetchMethod(fetch: (url) => Promise<Response>)). See if using DarkReader.setFetchMethod(window.fetch) before

ghost avatar Oct 10 '24 01:10 ghost

Adding this code should be able to solve the problem, as there is an error when switching to dark themes

if (typeof DarkReader !== 'undefined') {
  DarkReader.setFetchMethod(window.fetch);
}

ghost avatar Oct 10 '24 01:10 ghost