aws-samples / bedrock-claude-chat

AWS-native chatbot using Bedrock + Claude (+Mistral)
MIT No Attribution
816 stars 299 forks source link

[BUG] Frontend Deploy #532

Open CharlieGreenman opened 5 days ago

CharlieGreenman commented 5 days ago

Describe the bug

After deploying frontend code, when going to url, will give me:

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
registerSW.js:1 Uncaught SyntaxError: Unexpected token '<' (at registerSW.js:1:1)
manifest.webmanifest:1 

To Reproduce

  1. Run deploy script
  2. Run codedeploy for frontend
  3. Go to url for frontend

Screenshots

Screenshot 2024-09-16 at 11 15 27 AM
CharlieGreenman commented 5 days ago

^ related to WAF, is there a way to turn that off if want to by default ?