diff --git a/lib/apiserver/routers/smstools-config.js b/lib/apiserver/routers/smstools-config.js
index 2cee951..7451056 100644
--- a/lib/apiserver/routers/smstools-config.js
+++ b/lib/apiserver/routers/smstools-config.js
@@ -27,7 +27,7 @@ async function pageIndex(req, res) {
     });
 }
 
-function pageGenerate(req, res) {
+async function pageGenerate(req, res) {
     res.end(await smstoolsConfigCreator());
 }