Skip to content

Missing https import #1163

@doctyper

Description

@doctyper

Hi.

It appears this import was removed from PR #735 which enabled HTTPS use. I'm not able to run start-storybook with HTTPS enabled:

@storybook/react v3.0.0

../node_modules/@storybook/react/dist/server/index.js:107
  server = https.createServer(sslOptions, app);
           ^

ReferenceError: https is not defined
    at Object.<anonymous> (.../node_modules/@storybook/react/dist/server/index.js:107:12)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:509:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions