Refused to execute script from mimetype issue in cloudlfare pages

i have deployed my create-react-app in cloud-flare pages

pages load when I hit / path

then I navigate to /tab/orders/ path

then I refresh the page then it says

Refused to execute script from because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.

Same issue happening for us. MIME type of js files are text/html all of a sudden.

same issue happending for us and clear cache doesn’t help.
we also use page rule to redirect url.

/path → /app/path will cause the problem.