File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,17 @@ tryCatch(async () => {
48
48
urlToCopyOfficeRuntimeFrom = "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/office-runtime/index.d.ts" ;
49
49
break ;
50
50
case "CDN" :
51
- urlToCopyOfficeJsFrom = "https://appsforoffice.officeapps.live.com /lib/1.1/hosted/office.d.ts" ;
52
- urlToCopyPreviewOfficeJsFrom = "https://appsforoffice.officeapps.live.com /lib/beta/hosted/office.d.ts" ;
51
+ urlToCopyOfficeJsFrom = "https://res-sdp.public.cdn.office.net/appsforoffice/_1cdn_bucketedcontent /lib/1.1/hosted/office.d.ts" ;
52
+ urlToCopyPreviewOfficeJsFrom = "https://res-sdp.public.cdn.office.net/appsforoffice/_1cdn_bucketedcontent /lib/beta/hosted/office.d.ts" ;
53
53
urlToCopyCustomFunctionsRuntimeFrom = "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/custom-functions-runtime/index.d.ts" ;
54
54
urlToCopyOfficeRuntimeFrom = "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/office-runtime/index.d.ts" ;
55
55
break ;
56
- // Note: using "appsforoffice.officeapps.live.com" instead of "appsforoffice.microsoft.com"
56
+ // Note: Using 1CDN instead of "appsforoffice.microsoft.com"
57
57
// to avoid being redirected to the EDOG environment on corpnet.
58
58
// If we ever want to generate not just public d.ts but also "office-with-first-party.d.ts",
59
59
// replace the filename.
60
+ case "Local" :
61
+ break ;
60
62
default :
61
63
throw new Error ( `Invalid prompt selection: ${ sourceChoice } ` ) ;
62
64
}
You can’t perform that action at this time.
0 commit comments