diff --git a/web/app.py b/web/app.py deleted file mode 100644 index 6d5eb29..0000000 --- a/web/app.py +++ /dev/null @@ -1,14 +0,0 @@ -# -*- coding: utf-8 -*- -from flask import Flask -from flask import render_template -app = Flask(__name__) - - -@app.route('/') -@app.route('/') -def hello(name=None): - return render_template('index.html', name=name) - - -if __name__ == '__main__': - app.run(host='0.0.0.0') diff --git a/web/requirements.txt b/web/requirements.txt deleted file mode 100644 index 597ce19..0000000 --- a/web/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -Flask==2.3.3 diff --git a/web/templates/index.html b/web/templates/index.html deleted file mode 100644 index 2367260..0000000 --- a/web/templates/index.html +++ /dev/null @@ -1,390 +0,0 @@ - - - - - Python Web Demo | Cloud Studio - - - -
-
-
- Cloud Studio - -
-

欢迎使用 Cloud Studio

-

这是一个 Python Web Demo

-
-
- {% if name %} -

Hello {{ name }}!

- {% else %} -

Hello, Cloud Studio!

- {% endif %} - Say hello to the world -
- -
- -