Why is the mobile redirect I set up through Cloudflare redirecting my static assets?

Cloudflare’s mobile redirect will redirect all traffic from your root domain e.g. example.com and www.example.com to m.eaxmple.com. This includes all the resources under the domain.

To host this static content under the mobile subdomain (m.example.com), our recommendation would be to put a file link or similar on your server so that images and other content can be served.

Was there something you needed help with?

Another solution would be to create a different subdomain for static files that Desktop and Mobile users will share.