zhong (钟鹏群) 3 周之前
父节点
当前提交
efa2152776
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      deployments/flask-simple-ingress.yaml

+ 0 - 5
deployments/flask-simple-ingress.yaml

@@ -36,11 +36,6 @@ spec:
           def hello():
               return "<h1>Hello from Flask on port 8000!</h1>"
           
-          @app.route("/hello")
-          @app.route("/hello/")
-          def hello_path():
-              return "<h1>Hello from Flask /hello path! This redirects to root.</h1>"
-          
           if __name__ == "__main__":
               app.run(host="0.0.0.0", port=8000)
           ' > /app.py && \