Watch 12 Star 15 Fork 9

magicodes / Magicodes.Admin.UITypeScriptMIT

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Nothing here. spread retract

Clone or download
web.config 1.19 KB
Copy Edit Web IDE Raw Blame History
显瘦 authored 2019-07-01 14:22 . 初始化框架
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<staticContent>
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
<mimeMap fileExtension="woff" mimeType="application/font-woff" />
<mimeMap fileExtension="woff2" mimeType="application/font-woff" />
</staticContent>
<!-- IIS URL Rewrite for Angular routes -->
<rewrite>
<rules>
<rule name="Angular Routes" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_URI}" pattern="^/(api)" negate="true" />
</conditions>
<action type="Rewrite" url="/" />
</rule>
</rules>
</rewrite>
<handlers>
<remove name="WebDAV" />
<add name="WebDAV" path="*" verb="PROPFIND,PROPPATCH,MKCOL,COPY,MOVE,LOCK,UNLOCK" modules="WebDAVModule" resourceType="Unspecified" requireAccess="None" />
</handlers>
</system.webServer>
</configuration>

Comment ( 0 )

Sign in for post a comment

TypeScript
1
https://gitee.com/magicodes/Magicodes.Admin.UI.git
git@gitee.com:magicodes/Magicodes.Admin.UI.git
magicodes
Magicodes.Admin.UI
Magicodes.Admin.UI
master

Help Search