mirror of
https://github.com/osnr/TabFS.git
synced 2024-05-05 23:33:11 +02:00
fix resources/ suffix misuse bug, tweak README
This commit is contained in:
parent
d539660c93
commit
e1f9c5986a
|
@ -3,5 +3,4 @@
|
|||
See <https://omar.website/tabfs/>.
|
||||
|
||||
(**update**: You can now **[sponsor further development of
|
||||
TabFS](https://github.com/sponsors/osnr)** and help to turn it from an
|
||||
experiment into something really reliable and useful!)
|
||||
TabFS](https://github.com/sponsors/osnr)**!)
|
||||
|
|
|
@ -364,7 +364,7 @@ Router["/tabs/by-id/#TAB_ID/control"] = {
|
|||
return { entries: [".", "..", ...frameTree.resources.map(r => sanitize(String(r.url)))] };
|
||||
}
|
||||
};
|
||||
Router["/tabs/by-id/#TAB_ID/debugger/resources/:SUFFIX"] = defineFile(async ({path, tabId}) => {
|
||||
Router["/tabs/by-id/#TAB_ID/debugger/resources/:SUFFIX"] = defineFile(async ({path, tabId, suffix}) => {
|
||||
await TabManager.debugTab(tabId); await TabManager.enableDomainForTab(tabId, "Page");
|
||||
|
||||
const {frameTree} = await sendDebuggerCommand(tabId, "Page.getResourceTree", {});
|
||||
|
|
Loading…
Reference in a new issue