Skip to content

Commit b1fb2e8

Browse files
save file
1 parent ff30e48 commit b1fb2e8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

code/nodejs/server/file-server/readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ This server can run locally and allow access to the local filesystem from the br
88

99
```
1010
11-
var res = await fetch('https://localhost:3000/my-file.txt');
11+
var res = await fetch('https://localhost:3000/my-file.txt',{headers:{mode:'load',auth:'abc-123'}})
1212
var txt = await res.text();
1313
consolelog(txt);
1414
1515
```
1616

17-
17+
the client-side library can found at
18+
19+
[file-server.js](/libs/js/io/file-server/file-server.html)
1820

1921

0 commit comments

Comments
 (0)