source:
frontend/node_modules/webpack/hot/load-http.js
| Last change on this file was 9af201e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 230 bytes | |
| Line | |
|---|---|
| 1 | /** |
| 2 | * @param {boolean} isHTTPS true when need https module, otherwise false |
| 3 | * @returns {Promise<import("http") | import("https")>} |
| 4 | */ |
| 5 | module.exports = function (isHTTPS) { |
| 6 | return isHTTPS ? import("https") : import("http"); |
| 7 | }; |
Note:
See TracBrowser
for help on using the repository browser.
