Closed satoryu closed 6 years ago
This doc says that ECMAScript's Regular expression is allowed in this configuration.
The one of IIS Server Variables URL
means the path of a request URL:
Rewriting the pattern add
rule as follows resolve this situation :)
Unfortunately, another problem has raised. Fonts extensions(such as woff, woff2 and so on) is not handled by IIS in default.
I found two articles for adding mimetype to be handled by IIS:
Sent a pull-request to fix Composer's applicationHost:
Already fixed by removing Composer Extension and install custom deployment script and composer into this repository.
According to the following rule given by Composer Extension's application,
https://github.com/SyntaxC4-MSFT/ComposerExtension/blob/df2eee9426f89f7d193a7b4254cacae5ff30db39/Content/applicationHost.xdt#L23-L25
any files under the directories whose name includes
vendor
cannot be reached from anywhere.The fonts is stored under Bootstrap's vendor directory. Laravel-mix copies the files into public directory.