Flarum (2.x)
    Preparing search index...
    • Fetch the stylesheets under the forum's asset URL that the page can't read, so their icons can be listed. A stylesheet served from another domain, such as a bucket or CDN, is loaded without CORS, and the browser keeps its rules from scripts even where the host would allow them. Fetched again with CORS, those rules can be read wherever the host sends the header for it.

      Returns null when there is nothing to fetch, so the icons can be read straight away.

      Parameters

      • assetsBaseUrl: string | null | undefined

      Returns Promise<void> | null