src="themes/adminlte3/dist/js/adminlte.js"></script>
<script src="themes/adminlte3/dist/js/demo.js">/bootstrap.bundle.min.js' because its MIME type ('t
我得到了js和css的错误:
Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://cmf.localScript but transferred with MIME type text/html: "http://cmf.local/app_dev.php/js/create_jquery-ui_2
TLDR:我正在寻找一种方法,从保留mime类型的文件系统中为web资源(css、jpg等)提供服务。问题是,当我打开一个链接到其他资源的网页时,它会通过每个资源的包装器运行,而不保留mime类型。结果,形成的过程被搞砸了。下面是我所得到的错误(在chrome上使用dev工具)
Resource interpreted as Stylesheet but transfered with MIME我发现了如何获得mime