Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwynr committed May 30, 2024
1 parent 1881bed commit 9d22ff9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ npm install @filen/webdav@latest
2. Initialize the server

```typescript
import WebDAVServer from "@filen/webdav"

const hostname = "127.0.0.1"
const port = 1901
const server = new WebDAVServer({
Expand All @@ -39,7 +41,7 @@ const server = new WebDAVServer({
],
hostname,
port,
sdkConfig: /* @filen/sdk config */
sdkConfig: config /* @filen/sdk config object */
})

server
Expand Down

0 comments on commit 9d22ff9

Please sign in to comment.