You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
1. 准备工作
|
|
安装Node.js
|
|
启动命令行,切换工作目录到当前目录。
|
|
|
|
2. 执行如下命令,启动服务器
|
|
node index.js
|
|
|
|
3. 将音频或视频文件放入htdocs目录
|
|
|
|
4. 获取文件链接
|
|
|
|
http://127.0.0.1:3000/文件名
|
|
|
|
如:
|
|
http://127.0.0.1:3000/1.mp4
|
|
http://127.0.0.1:3000/2.mp4
|
|
|