my-airdrop 1.2.1 → 1.2.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.
Files changed (2) hide show
  1. package/bin/cli.js +1 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -222,7 +222,7 @@ async function main() {
222
222
 
223
223
  // 3. 터널 시작
224
224
  const startTunnel = () => new Promise((resolve, reject) => {
225
- const t = Tunnel.quick(`http://localhost:${port}`);
225
+ const t = Tunnel.quick(`http://localhost:${port}`, { '--protocol': 'http2' });
226
226
  const timer = setTimeout(() => reject(new Error('timeout')), 20000);
227
227
  t.once('url', url => { clearTimeout(timer); resolve({ tunnel: t, url }); });
228
228
  t.once('error', err => { clearTimeout(timer); reject(err); });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my-airdrop",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Share files over local network — like AirDrop but from your terminal",
5
5
  "keywords": [
6
6
  "file-sharing",