refactor: demo/app-simple 更名为 demo/app
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>python310-flask</title>
|
||||
<style>
|
||||
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; margin: 40px; color: #333; }
|
||||
table { border-collapse: collapse; min-width: 520px; }
|
||||
th, td { border: 1px solid #ddd; padding: 8px 12px; text-align: left; }
|
||||
th { background: #f5f5f5; width: 160px; }
|
||||
a { color: #1677ff; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h2>python310-flask 运行信息</h2>
|
||||
<table>
|
||||
{% for key, value in info.items() %}
|
||||
<tr>
|
||||
<th>{{ key }}</th>
|
||||
<td>{{ value }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<p>
|
||||
其它接口:<a href="/api/hello/demo">/api/hello/<name></a>、<a href="/health">/health</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user