|
|
@@ -215,7 +215,11 @@ this.singlefile.lib.util = this.singlefile.lib.util || (() => {
|
|
|
}
|
|
|
try {
|
|
|
if (options.frameId) {
|
|
|
- response = await fetchFrameResource(resourceURL, options.frameId);
|
|
|
+ try {
|
|
|
+ response = await fetchFrameResource(resourceURL, options.frameId);
|
|
|
+ } catch (error) {
|
|
|
+ response = await fetchResource(resourceURL);
|
|
|
+ }
|
|
|
} else {
|
|
|
response = await fetchResource(resourceURL);
|
|
|
}
|