refactor: 分离前端代码到 ui.js
This commit is contained in:
@@ -67,11 +67,12 @@ systemctl --user enable --now image-generator.service
|
||||
|
||||
```
|
||||
image-generator/
|
||||
├── index.html # 前端
|
||||
├── style.css # 样式
|
||||
├── index.html # HTML 页面
|
||||
├── style.css # 样式(深色主题)
|
||||
├── ui.js # 前端交互逻辑
|
||||
├── app.js # 服务端(Express)
|
||||
├── start.sh # 启动脚本
|
||||
├── config.json # API Key 存储(自动生成)
|
||||
├── config.json # API Key 存储(自动生成,不提交)
|
||||
└── CHANGELOG.md
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user