chore: format

This commit is contained in:
Nate Moore 2023-08-10 13:26:46 -04:00
parent 6b0e3b22f5
commit 1244e6fee1

View file

@ -59,7 +59,6 @@ const preview: CreatePreviewServer = async function ({
return pathname;
}
const server = createServer(
{
client,
@ -71,12 +70,10 @@ const preview: CreatePreviewServer = async function ({
);
const address = getNetworkAddress('http', host!, port)
if(host === undefined ){
if (host === undefined) {
// eslint-disable-next-line no-console
console.log(
`Preview server listening on \n local: ${address.local[0]} \t\n network: ${address.network[0]}
` );
}else{
console.log(`Preview server listening on \n local: ${address.local[0]} \t\n network: ${address.network[0]}\n`);
} else {
// eslint-disable-next-line no-console
console.log(`Preview server listening on ${address.local[0]}`);
}