admin管理员组

文章数量:1406920

Hey guys i hope maybe someone cam across the same issue i deployed my App to AWS Amplify via Github and the Images are not loading. I already checked and hosted the dist/project/browser folder localy via npx and the images are loading localy but on AWS its just the alt text

Local Screenshot Amplify App

I already tried some things ppl mentioned online so here is what i already did:

  1. I Changed the Angular.json build section to this Angular.json 2.Dist ordner containing images? Yes! Assets Folder Changed the Rewrites on AWS Amplify Rewrites 3.Changed the Custom Headers Headers 4.Changed the Amplify.yml.yml
  2. Images are Ref. like this: 'assets/images/car1.webp'

I hope someone can help me with this because i cant find anything about this online

本文标签: Angular 19AWS Amplify Image load problemStack Overflow