Model texture lost when upload to Azure Static Web Apps, why?

LemonNeko 1 Reputation point

I'm using GitHub Actions to build and deploy our static web application, and there is a 22M 3D model that becomes 8M after deployment, and the textures are missing, I don't know why.
After the application is built, the size of the model is still 22M. I don't know what happened during the upload process.
Workflow jobs output:
Network pannel in chrome devtools
Here is the model in normal state:
After deploy:

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
805 questions
{count} votes

1 answer

Sort by: Most helpful
  1. LemonNeko 1 Reputation point

    Found the reason, I put the model separately in a static web application, when I configure a custom domain name, the model is normal. When I turned on enterprise grade edge and rebuilt it once, the model was lost
    I plan to use Azure Blob as the CDN, but why the model is lost when the enterprise grade edge is turned on, I don't know

    0 comments No comments