v1.2.2: 右侧面板始终显示,首页显示快捷入口
This commit is contained in:
10
app.py
10
app.py
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
图片编辑器 - Image Editor v1.2.0
|
||||
图片编辑器 - Image Editor v1.2.2
|
||||
前端图片处理工具:合并、分割、挖孔填充、圆形切图、文字图片等
|
||||
v1.2.0: 右侧面板实时配置,无需弹框
|
||||
v1.2.2: 右侧面板始终显示,首页显示快捷入口
|
||||
|
||||
端口: 19018
|
||||
"""
|
||||
@@ -25,7 +25,7 @@ def index():
|
||||
|
||||
@app.route('/api/health')
|
||||
def health():
|
||||
return jsonify({'status': 'ok', 'version': '1.2.0', 'time': datetime.now().isoformat()})
|
||||
return jsonify({'status': 'ok', 'version': '1.2.2', 'time': datetime.now().isoformat()})
|
||||
|
||||
@app.route('/api/save', methods=['POST'])
|
||||
def save_image():
|
||||
@@ -64,9 +64,9 @@ def list_images():
|
||||
|
||||
if __name__ == '__main__':
|
||||
print("=" * 50)
|
||||
print("图片编辑器 - Image Editor v1.2.1")
|
||||
print("图片编辑器 - Image Editor v1.2.2")
|
||||
print("=" * 50)
|
||||
print("右侧面板实时配置,操作更流畅")
|
||||
print("右侧面板始终显示,首页显示快捷入口")
|
||||
print(f"访问地址: http://localhost:19018")
|
||||
print("=" * 50)
|
||||
app.run(host='0.0.0.0', port=19018, debug=True)
|
||||
Reference in New Issue
Block a user