Welcome Guest, Not a member yet? Register   Sign In
Access-Control-Allow-Origin / css font loading
#1

Hi !

I've got a problem with a font loading raisong Access-Control-Allow-Origin error.
The url of this font is specified in my css which is loaded correctly (except for the font).

Structure of my server :

Code:
/www
         /app
         /public
                /css
                /images
                /ressources
         /system
         /writable

In App.php, my $baseURL = "https://www.my_domain.com"
I've set up my mutu server in order to point to "./www/public" so that CI4 is working pretty fine.

But, I've got this "Access-Control-Allow-Origin" error disabling my css font loading when I try to access with "www.my_domain.com"
It's working fine with "www.my_domain.com/index.php" or with "https://www.my_domain.com"

All these auto/magic routes drives me crazy !!   Tongue
Reply


Messages In This Thread
Access-Control-Allow-Origin / css font loading - by the_steff - 06-04-2020, 12:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB