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; }