diff --git a/2.base64-de-in-code/api.py b/2.base64-de-in-code/api.py index 4f6fc46..d572c21 100644 --- a/2.base64-de-in-code/api.py +++ b/2.base64-de-in-code/api.py @@ -4,6 +4,12 @@ import proj_utils.utils as utils # 导入你的工具模块 app = Flask(__name__) + +@app.route('/') +def index(): + """渲染主页模板""" + return render_template('index.html') + @app.route('/en-de-code') def index(): """渲染主页模板""" diff --git a/2.base64-de-in-code/templates/en-de-code-index.html b/2.base64-de-in-code/templates/en-de-code-index.html index 3246ece..020c0d9 100644 --- a/2.base64-de-in-code/templates/en-de-code-index.html +++ b/2.base64-de-in-code/templates/en-de-code-index.html @@ -3,7 +3,7 @@
-恭喜你,来到了一片荒芜之地
+ + + \ No newline at end of file