File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
packages/nuxi/src/commands Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -392,12 +392,13 @@ function resolveListenOptions(
392392
393393 const _hostname = typeof args . host === 'string'
394394 ? args . host
395- : ( args . host === true ? '' : undefined )
396- ?? process . env . NUXT_HOST
397- ?? process . env . NITRO_HOST
398- ?? process . env . HOST
399- ?? ( nuxtOptions . devServer ?. host || undefined /* for backwards compatibility with previous '' default */ )
400- ?? undefined
395+ : args . host === true
396+ ? ''
397+ : process . env . NUXT_HOST
398+ ?? process . env . NITRO_HOST
399+ ?? process . env . HOST
400+ ?? ( nuxtOptions . devServer ?. host || undefined /* for backwards compatibility with previous '' default */ )
401+ ?? undefined
401402
402403 const _public : boolean | undefined = args . public
403404 ?? ( _hostname && ! [ 'localhost' , '127.0.0.1' , '::1' ] . includes ( _hostname ) )
You can’t perform that action at this time.
0 commit comments