IIS add LRC lyrics file support

Before writing a music player with lyrics analysis.

Would like to run down under IIS, look at the situation.

But actually it is given, the lyrics can not be displayed ~

The lyrics are loaded external LRC files with AJAX.

The first reaction is, IIS does not support the LRC is not a file? ?

Open IIS, select MIME:

A look, it really does not support lrc file, right click "Add":

Extension fill " .lrc ",

Type (MIME) fill "MIME type: the Application / OCTET-Stream ",

Point confirmation can be.

Run again localhost, and she can ~! !

PS: This MIME type of LRC files is Baidu.

 

Other files loaded successfully, but not working properly, this method can be considered.

Published 86 original articles · won praise 146 · views 50000 +

Guess you like

Origin blog.csdn.net/weixin_42703239/article/details/104821425