@cappitolian/http-local-server 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -135,8 +135,8 @@ public class HttpLocalServer {
|
|
|
135
135
|
|
|
136
136
|
String jsResponse = null;
|
|
137
137
|
try {
|
|
138
|
-
// Wait up to
|
|
139
|
-
jsResponse = future.get(
|
|
138
|
+
// Wait up to 55 seconds for JS response
|
|
139
|
+
jsResponse = future.get(55, TimeUnit.SECONDS);
|
|
140
140
|
} catch (TimeoutException e) {
|
|
141
141
|
jsResponse = "{\"error\": \"Timeout waiting for JS response\"}";
|
|
142
142
|
} catch (Exception e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cappitolian/http-local-server",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Runs a local HTTP server on your device, accessible over LAN. Supports connect, disconnect, GET, and POST methods with IP and port discovery.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|