FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(cli): https option by reslear · Pull Request #5083 · ionic-team/ionic-cli · GitHub

Repository navigation

Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .ts  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2 changes: 2 additions & 0 deletions packages/@ionic/cli/src/lib/serve.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export abstract class ServeRunner<T extends ServeOptions> implements Runner<T, S
const engine = this.determineEngineFromCommandLine(options);
const host = options['host'] ? String(options['host']) : DEFAULT_ADDRESS;
const port = str2num(options['port'], DEFAULT_SERVER_PORT);
const https = options.https;
const [platform] = options['platform'] ? [String(options['platform'])] : inputs;

return {
Expand All @@ -151,6 +152,7 @@ export abstract class ServeRunner<T extends ServeOptions> implements Runner<T, S
open: !!options['open'],
platform,
port,
https,
proxy: typeof options['proxy'] === 'boolean' ? Boolean(options['proxy']) : true,
project: options['project'] ? String(options['project']) : undefined,
publicHost: options['public-host'] ? String(options['public-host']) : undefined,
Expand Down

Back | FazBrowse Home | New Git URL