vue2server7 7.0.76 → 7.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/test/1 +1 -7
- package/test/add/file.000 +0 -0
package/package.json
CHANGED
package/test/1
CHANGED
|
@@ -80,11 +80,5 @@ app.use((req, res) => {
|
|
|
80
80
|
|
|
81
81
|
// 错误处理
|
|
82
82
|
app.use((err, req, res, next) => {
|
|
83
|
-
|
|
84
|
-
res.status(500).send('服务器内部错误');
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
app.listen(port, () => {
|
|
88
|
-
console.log(`🚀 文件服务器运行在 http://localhost:${port}`);
|
|
89
|
-
console.log(`📁 文件目录: ${path.join(__dirname, 'files')}`);
|
|
83
|
+
conso件目录: ${path.join(__dirname, 'files')}`);
|
|
90
84
|
});
|
|
Binary file
|