admin管理员组

文章数量:1380904

Oqtane 6.1.0 running on Azure App Service. Installed the 2sxc Gallery v7 using the marketplace module install.

The gallery loads and works perfectly when the app is run via website, but we're trying to use the Oqtane.Maui app provided with 6.1.0 and when we run the Windows and Android apps (via VS2022) everything works except the Gallery. In its place we get the error "Failed to fetch dynamically imported module:

.Sxc.Oqtane/NativeModule.js TypeError: Failed to fetch dynamically imported module: .Sxc.Oqtane/NativeModule.js

We have allowed "*", ";, "https://localhost", "http://localhost" in the Azure App Server CORS setting, as well as enabling "Access-Control-Allow-Credentials", but nothing seems to work. We can see that placeholders have been created in the cache for the images it wants to display (they show as broken links on the page), but we can't see how to allow the WebView to download the script.

Site Settings => UI Component Settings:

  • Render Mode: Static
  • Interactivity: Server (SignalR)
  • Prerender: No
  • Hybrid: Yes

We've also tried setting the Site URLs to include .

We're at loss - could anyone please point us in the right direction?

Thanks, James

本文标签: cors2sxc Gallery v7 Resource Referencing Error in Oqtane MAUI AppStack Overflow