0

I have spent plenty of time to find the cause for this error: enter image description here Which is happening in chrome, and safari, browsers only but not in Firefox. This is happening after deployment and not in local. I am running angular 13 in the front end and spring boot as a backend. I place angular build file under resources/static/ folder of my API and build a jar out of it.

I would really want to know what would be the cause of this and what is the best approach I could use to avoid it. Thank you in advance!

Tadele Ayelegn
  • 4,126
  • 1
  • 35
  • 30
  • I'd be surprised if it works in Firefox given the type of error. Would the answer here be of use: https://stackoverflow.com/a/67249018/271012 – Drenai Feb 26 '22 at 19:40

1 Answers1

0

This seems issue with angular version, may be I missed some vital info or a bug. I finally got it working with older angular version(Angular 11). I spent hours and hours to fix dependency conflict and imports and finally there is no more 403 issue in chrome and safari while accessing main.js, pollyfill.js and runtime.js. Hopefully someone will come with a reasoning for this issue

Tadele Ayelegn
  • 4,126
  • 1
  • 35
  • 30