|
我设置玩url 和 .htaccess 文件之后
<link rel="stylesheet" href="<?php echo base_url('assets/css/font-aswesome.min.css')?>"
无法正常显示
config.php
$config['index_page'] = ""htaccessRewriteEngine onRewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA]
ERROR:Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1/assets/fonts/fontawesome-webfont.woff2?v=4.7.0. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
|
|