diff --git a/server/sts-auth.js b/server/sts-auth.js
index <HASH>..<HASH> 100644
--- a/server/sts-auth.js
+++ b/server/sts-auth.js
@@ -209,8 +209,7 @@ app.all('/sts-auth', function (req, res, next) {
     });
 });
 app.all('*', function (req, res, next) {
-    res.writeHead(404);
-    res.send('404 Not Found');
+    res.status(404).send('404 Not Found');
 });
 
 // 启动签名服务
修复 [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client 的报错