Skip to content

Commit 231f405

Browse files
committed
fix(server): fix typescript build issue
1 parent 48e3e8b commit 231f405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ export async function createServer(
4848
config: StartCliConfig
4949
): Promise<Express> {
5050
config = {
51-
url: `http://localhost:${port}`,
52-
baseDir: process.cwd(),
5351
...config,
52+
url: config.url || `http://localhost:${port}`,
53+
baseDir: config.baseDir || process.cwd(),
5454
};
5555

5656
debug('Starting server with config: %p', config);

0 commit comments

Comments
 (0)