我希望能够为不同的路径发送相同的文件,比如/stuff和/stuff/foo,问题是当我尝试这样做时,我会得到以下错误:
Refused to execute script from 'http://localhost:8000/stuff/main.js' because its MIME type ('text/html') is not executable, and strict MIME type checkin
Url更改为http://localhost:8080/edit/123,然后它不会呈现任何内容,并且在控制台中显示了以下警告:
The resource from “http://localhost:8080/edit/styles.css” was blocked due to MIME type (“text/html” was bl