Skip to content

Commit

Permalink
Merge pull request #1176 from storybooks/fix-https
Browse files Browse the repository at this point in the history
ADD https import & remove tracking code remains
  • Loading branch information
shilman authored Jun 1, 2017
2 parents a61e0bc + 16605b9 commit 3868a54
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/react/src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import express from 'express';
import favicon from 'serve-favicon';
import https from 'https';
import program from 'commander';
import path from 'path';
import fs from 'fs';
Expand Down Expand Up @@ -56,13 +57,8 @@ getEnvConfig(program, {
host: 'SBCONFIG_HOSTNAME',
staticDir: 'SBCONFIG_STATIC_DIR',
configDir: 'SBCONFIG_CONFIG_DIR',
dontTrack: 'SBCONFIG_DO_NOT_TRACK',
});

if (program.dontTrack) {
dontTrack();
}

if (!program.port) {
logger.error('Error: port to run Storybook is required!\n');
program.help();
Expand Down

0 comments on commit 3868a54

Please sign in to comment.