|
@@ -132,7 +132,7 @@ export {
|
|
|
frameFetch
|
|
frameFetch
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-async function fetchResource(url, options, useHostFetch = true) {
|
|
|
|
|
|
|
+async function fetchResource(url, options = {}, useHostFetch = true) {
|
|
|
try {
|
|
try {
|
|
|
const fetchOptions = {
|
|
const fetchOptions = {
|
|
|
cache: options.cache || "force-cache",
|
|
cache: options.cache || "force-cache",
|