Use a space after the network inspector query so the esc is not necessary

This commit is contained in:
Kuba Orlik 2022-07-08 08:59:56 +02:00
parent 9ac5579ebc
commit de6201ecf3
2 changed files with 4 additions and 4 deletions

View File

@ -44,8 +44,7 @@ while IFS= read -r DOMAIN; do
continue continue
fi fi
echo "{\"current_action\": \"scanning for requests from $DOMAIN...\"}" echo "{\"current_action\": \"scanning for requests from $DOMAIN...\"}"
# network_inspector_search "domain:$DOMAIN" # can filter with more granularity: https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor/request_list#filtering_by_properties network_inspector_search "domain:$DOMAIN " # can filter with more granularity: https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor/request_list#filtering_by_properties
network_inspector_search "$DOMAIN" # the "domain:" prefix caused problems, as the GUI forces an autocomplete action. This can be worked around by pressing `ESC`, but if you press ESC when there are NO requests, then the console appears and messes up the layout.
# grab ni_search # grab ni_search

View File

@ -170,5 +170,6 @@ router.get("/api/requests/:id", async (ctx) => {
}); });
app.use(router.routes()).use(router.allowedMethods()); app.use(router.routes()).use(router.allowedMethods());
app.listen(3000); const port = 3000;
console.log("server started"); app.listen(port);
console.log(`server started on port ${port}`);