Several issues loading resources in MAUI (Windows) #5262
Unanswered
mdmontesinos
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I raised the challenges with static resources to Microsoft more than 2 years ago: And it has still not been resolved. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been testing to use MAUI with my current web, but I'm encountering some issues:
First of all, some static resources are getting blocked by CORS policy but others are not, which is weird. For example:
Also, fonts that are imported within the bootstrap scss file are also blocked by CORS:
But not even all of them, only some, which is again weird:
Finally, images that are loaded with the "/files" server don't work at all because MAUI tries to request them as a local resource instead of the server:
Any clues on how to solve these issues?
P.S: I've set the ApiUrl in the MauiConstants, and I'm using the Oqtane version that sets the 0.0.0.1 origin in the CORS policy. Tested on Windows Machine, not Android.
Beta Was this translation helpful? Give feedback.
All reactions