Skip to content

Commit a3a0392

Browse files
save file
1 parent 5379d8c commit a3a0392

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
3+
<h1 style='display:flex;gap:20px'>
4+
file-server.js
5+
<div style='flex:1'></div>
6+
<input type=button value='download file' onclick='btn.download()' style='font-size:16px'>
7+
<input type=button value='download complete' onclick='btn.download.complete()' style='font-size:16px'>
8+
</h1>
9+
10+
11+
## Description
12+
13+
the https server is a nodejs script that allows serving files from the file system.
14+
15+
16+
its use is fairly simple
17+
18+
```
19+
20+
node https-server
21+
22+
```
23+
24+
## requires
25+
26+
- getmime.js
27+
- keys.js
28+
- server-cert.js
29+
- argv.js
30+
31+
32+
33+
34+

0 commit comments

Comments
 (0)