xshell 1.2.40 → 1.2.42

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/server.js CHANGED
@@ -357,6 +357,10 @@ export class Server {
357
357
  enumerable: true,
358
358
  writable: true
359
359
  });
360
+ if (request.path === devtools_trash) {
361
+ ctx.response.status = 404;
362
+ return;
363
+ }
360
364
  // ------------ log
361
365
  if (this.print.logs)
362
366
  this.logger(ctx);
@@ -734,4 +738,5 @@ export class Server {
734
738
  }
735
739
  }
736
740
  export const text_plain = 'text/plain; charset=utf-8';
741
+ const devtools_trash = '/.well-known/appspecific/com.chrome.devtools.json';
737
742
  //# sourceMappingURL=server.js.map