Skip to content

Commit ca482e3

Browse files
committed
chore: update port log
1 parent 1a76758 commit ca482e3

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

packages/client/src/platform/web/components/workspace/TopBar.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="top-bar">
3-
Test Client
3+
Test Client (WebDAV at port 1900)
44
</div>
55
</template>
66

@@ -11,5 +11,6 @@
1111
flex-direction: row-reverse;
1212
height: 100%;
1313
padding: 0 20px;
14+
cursor: pointer;
1415
}
1516
</style>

packages/server/src/drive/drive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ export async function initWebDAVServer(context: AppContext) {
6868

6969
client.on('indexSynced', () => {
7070
setFileList(server, name, client.index);
71-
server.start(() => console.log(`WebDAV server started on ${endpoint}`));
71+
server.start(() => console.log(`WebDAV server started on 1900`));
7272
});
7373
}

tests/common/demo.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { TestAgent } from './agent.js';
44
test('demo', async ({ page }) => {
55
const agent = new TestAgent();
66
await agent.start({
7-
name: 'demo',
7+
name: 'default',
88
webPort: 5173,
99
backendPort: 3000,
1010
});
@@ -16,5 +16,5 @@ test('demo', async ({ page }) => {
1616
await agent.web.createDoc(page, 'Second Doc');
1717
await agent.web.createDoc(page, 'Third Doc');
1818
// await page.pause();
19-
// await agent.stop();
19+
await agent.stop();
2020
});

0 commit comments

Comments
 (0)