ropilot 0.1.6 → 0.1.7
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.
- package/lib/proxy.js +0 -7
- package/package.json +1 -1
package/lib/proxy.js
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* all requests to the Ropilot edge server.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { createInterface } from 'readline';
|
|
9
8
|
import { existsSync, readFileSync, writeFileSync, mkdirSync } from 'fs';
|
|
10
9
|
import { join } from 'path';
|
|
11
10
|
import { homedir } from 'os';
|
|
@@ -167,12 +166,6 @@ export async function serve() {
|
|
|
167
166
|
let buffer = '';
|
|
168
167
|
let contentLength = -1;
|
|
169
168
|
|
|
170
|
-
const rl = createInterface({
|
|
171
|
-
input: process.stdin,
|
|
172
|
-
terminal: false
|
|
173
|
-
});
|
|
174
|
-
|
|
175
|
-
// Handle line-based input (for simpler clients)
|
|
176
169
|
process.stdin.on('data', (chunk) => {
|
|
177
170
|
buffer += chunk.toString();
|
|
178
171
|
|