다음을 통해 공유


URL 제외

URL을 가로채지 않도록 제외하려면 앞에 (느낌표)를 추가 ! 합니다.

{
  "urlsToWatch": [
    "https://graph.microsoft.com/v1.0/*",
    "https://graph.microsoft.com/beta/*",
    "https://graph.microsoft.us/v1.0/*",
    "https://graph.microsoft.us/beta/*",
    "https://dod-graph.microsoft.us/v1.0/*",
    "https://dod-graph.microsoft.us/beta/*",
    "https://microsoftgraph.chinacloudapi.cn/v1.0/*",
    "https://microsoftgraph.chinacloudapi.cn/beta/*",
    "!https://*.sharepoint.*/*_api/web/GetClientSideComponents",
    "https://*.sharepoint.*/*_api/*",
    "https://*.sharepoint.*/*_vti_bin/*",
    "https://*.sharepoint-df.*/*_api/*",
    "https://*.sharepoint-df.*/*_vti_bin/*"
  ]
}

위의 예제에서 프록시는 에 대한 모든 요청을 무시합니다 /_api/web/GetClientSideComponents.

URL을 제외할 때 프록시는 구성에 정의된 순서대로 일치하는 URL을 찾습니다.

특정 URL을 제외하려면 더 많은 전역 URL이 일치하기 전에 먼저 URL을 정의해야 합니다.