From 8cdd32228e7bbc37cc0f6f80819072e43a8387b7 Mon Sep 17 00:00:00 2001 From: Bufo <32884105+bufo24@users.noreply.github.com> Date: Wed, 27 Dec 2023 21:09:25 +0100 Subject: [PATCH] fix: dist path (#2054) --- .../lib/plugins/network-throttle/network-throttle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/browser-sync-ui/lib/plugins/network-throttle/network-throttle.js b/packages/browser-sync-ui/lib/plugins/network-throttle/network-throttle.js index 677ed78c9..936ec1a4f 100644 --- a/packages/browser-sync-ui/lib/plugins/network-throttle/network-throttle.js +++ b/packages/browser-sync-ui/lib/plugins/network-throttle/network-throttle.js @@ -88,7 +88,7 @@ module.exports.init = function (ui) { }; if (ui.bs.getOption("scheme") === "https") { - var httpsOpts = require("browser-sync/lib/server/utils").getHttpsOptions(ui.bs.options); + var httpsOpts = require("browser-sync/dist/server/utils").getHttpsOptions(ui.bs.options); args.key = httpsOpts.key; args.cert = httpsOpts.cert; }