---
# System prepended metadata

title: apple-app-site-association IIS 路徑問題

---

# apple-app-site-association IIS 路徑問題
第一個方法
1.打開IIS找到MIME類型
![](https://i.imgur.com/CthUQke.png)
2.副檔名打. 類型設定為application/json
![](https://i.imgur.com/jfSdKhu.png)

第二個方法
在web.config加上以下程式碼
```
	<rewrite>
		<rules>
		<rule name="Apply Pay" stopProcessing="true">
		  <match url=".well-known/apple-app-site-association" />
		  <action type="Rewrite" url=".well-known/apple-app-site-association.json" appendQueryString="false" />
		</rule>
		</rules>
	</rewrite>
```