Skip to content

Commit

Permalink
chore: update port log
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlewind committed May 23, 2024
1 parent 1a76758 commit ca482e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="top-bar">
Test Client
Test Client (WebDAV at port 1900)
</div>
</template>

Expand All @@ -11,5 +11,6 @@
flex-direction: row-reverse;
height: 100%;
padding: 0 20px;
cursor: pointer;
}
</style>
2 changes: 1 addition & 1 deletion packages/server/src/drive/drive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ export async function initWebDAVServer(context: AppContext) {

client.on('indexSynced', () => {
setFileList(server, name, client.index);
server.start(() => console.log(`WebDAV server started on ${endpoint}`));
server.start(() => console.log(`WebDAV server started on 1900`));
});
}
4 changes: 2 additions & 2 deletions tests/common/demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { TestAgent } from './agent.js';
test('demo', async ({ page }) => {
const agent = new TestAgent();
await agent.start({
name: 'demo',
name: 'default',
webPort: 5173,
backendPort: 3000,
});
Expand All @@ -16,5 +16,5 @@ test('demo', async ({ page }) => {
await agent.web.createDoc(page, 'Second Doc');
await agent.web.createDoc(page, 'Third Doc');
// await page.pause();
// await agent.stop();
await agent.stop();
});

0 comments on commit ca482e3

Please sign in to comment.