Closed AndreiSoroka closed 2 years ago
very interesting, I disabled proxy (cache) in cloudflare.com, and the problem solved
If somebody catches this error with Cloudflare, then you can use API for a clear cache
Create token: https://dash.cloudflare.com/profile/api-tokens with permissions Zone.Cache Purge
Example step in the pipeline (bitbucket):
- step:
name: Pure Cloudflare cache
script:
- |
curl -X POST "https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE/purge_cache" \
-H "Authorization: Bearer $CLOUDFLARE_CACHE_PURE_TOKEN" \
-H "Content-Type: application/json" \
--data '{"purge_everything":true}';
Describe the bug
When I connected moment.js
component:
I got an error into production
On the server I have apache .htaccess
Why does the MIME type change? Possible apache specific problem. Without moment.js all is fine
A lot of thanks
Reproduction
specific problem, easy to reproduce if you can run apache, just install and connect moment.js
System Info