Skip to content

Commit bc5ca10

Browse files
committed
feat(serve): support https cli arg, fixes #678
1 parent dd29643 commit bc5ca10

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,14 @@ module.exports = (api, options) => {
258258
removeArg('--dashboard', 1, rawArgs)
259259
removeArg('--debug', 1, rawArgs)
260260
removeArg('--headless', 1, rawArgs)
261+
removeArg('--https', 1, rawArgs)
261262

262263
// Run the serve command
263264
const server = await api.service.run('serve', {
264265
_: [],
265266
// Use dashboard if called from ui
266-
dashboard: args.dashboard
267+
dashboard: args.dashboard,
268+
https: args.https
267269
})
268270
const outputDir = pluginOptions.outputDir || 'dist_electron'
269271

0 commit comments

Comments
 (0)