We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2da56f2 commit 833c415Copy full SHA for 833c415
code/nodejs/servers/file-server/readme.md
@@ -0,0 +1,21 @@
1
+
2
3
+# file-server.js
4
5
+## Description
6
7
+This server can run locally and allow access to the local filesystem from the browser / javascript through https requests
8
9
+```
10
11
+ var res = await fetch('https://localhost:3000/my-file.txt',{headers:{mode:'load',auth:'abc-123'}})
12
+ var txt = await res.text();
13
+ consolelog(txt);
14
15
16
17
+the client-side library can found at
18
19
+[file-server.js](/libs/js/io/file-server/file-server.html)
20
21
0 commit comments