You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The url used for subsequent resolution is the response URL after
244
+
* all redirects have been resolved.
245
+
*
246
+
* https://example.com/foo redirecting to https://example.com/bar
247
+
* would have a cache key of https://example.com/foo and baseURL
248
+
* of https://example.com/bar
249
+
*
250
+
* MUST BE SYNCHRONOUS for import.meta initialization
251
+
* MUST BE CALLED AFTER receiving the url body due to I/O
252
+
* @param {string} url
253
+
* @returns {string}
254
+
*/
255
+
getBaseURL(url){
256
+
if(
257
+
StringPrototypeStartsWith(url,'http:')||
258
+
StringPrototypeStartsWith(url,'https:')
259
+
){
260
+
// The request & response have already settled, so they are in
261
+
// fetchModule's cache, in which case, fetchModule returns
0 commit comments