From e98d11ab070205cb7f1bc63ed35956bc53c69ad1 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 29 十月 2024 21:26:51 +0800
Subject: [PATCH] 更新test
---
app.js | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/app.js b/app.js
index e82de23..dc6af65 100644
--- a/app.js
+++ b/app.js
@@ -47,7 +47,26 @@
return new facebody20191230.default(config);
}
app.get('/', (req, res) => {
- res.send('<h1>Hello World!</h1>');
+ const title = '岱特智能'; // 动态设置标题
+ const html = `
+ <!DOCTYPE html>
+ <html lang="zh-CN">
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>${title}</title>
+ </head>
+ <body>
+ <iframe
+ src="https://udify.app/chatbot/irsmISE8DBCWAhxz"
+ style="width: 100%; height: 100%; min-height: 700px"
+ frameborder="0"
+ allow="microphone">
+ </iframe>
+ </body>
+ </html>
+ `;
+ res.send(html);
});
// 定义 /webuser 路由处理器 用患者code 换信息
app.post('/webuser', async (req, res) => {
--
Gitblit v1.8.0