add external
This commit is contained in:
@@ -9,7 +9,7 @@ import path from 'node:path'
|
||||
import chalk from 'chalk';
|
||||
import { AssistantApp } from './lib.ts';
|
||||
import { getBunPath } from './module/get-bun-path.ts';
|
||||
export const runServer = async (port?: number, listenPath = '127.0.0.1') => {
|
||||
export const runServer = async (port: number = 51015, listenPath = '127.0.0.1') => {
|
||||
let _port: number | undefined;
|
||||
if (port) {
|
||||
_port = await getPort({ port });
|
||||
|
||||
Reference in New Issue
Block a user