CORS error is thrown when load fonts by using fontLocal #59813
Labels
bug
Issue was opened via the bug report template.
Font (next/font)
Related to Next.js Font Optimization.
Runtime
Related to Node.js or Edge Runtime with Next.js.
Link to the code that reproduces this issue
Codesandbox solution
To Reproduce
Current vs. Expected behavior
Following the steps from the previous section.
Current behavior
The font is not loaded, so it's not applied. CORS error is thrown
Expected behavior
The font is loaded successfully
Verify canary release
Provide environment information
Which area(s) are affected? (Select all that apply)
Font optimization (next/font), Middleware / Edge (API routes, runtime)
Additional context
The first build that introduced the bug is 13.4.13-canary.0, since reverting it to 13.4.12 works.
Seems like it's related to another issue that I created: #59766
I shared the same playground, there are no differences
The text was updated successfully, but these errors were encountered: