Skip to content

Commit 2196ac4

Browse files
committed
chore!: tweak based on loading-screen v1.1.0
1 parent 2696f1a commit 2196ac4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ exports.apply = api => {
3636
logo:
3737
'https://camo.githubusercontent.com/5ae09d1630be8e50dd69a50d9d45b326a0cb41ab/68747470733a2f2f692e6c6f6c692e6e65742f323031382f30392f31322f356239386537373335326339642e706e67',
3838
handler,
39-
serverCallback() {
40-
// Real • open browser
39+
port,
40+
// Real • open browser
41+
callback() {
4142
if (args.has('o') || args.has('open')) {
4243
require('@poi/dev-utils/openBrowser')(
4344
`http://${prettyHost}:${port}`

0 commit comments

Comments
 (0)